Creating and populating an XML file - InfoPath Dev
in

InfoPath Dev

Creating and populating an XML file

Last post 05-27-2009 07:43 AM by rarroyo29. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-18-2009 12:12 PM

    Creating and populating an XML file

    I need a secondary data source to populate a dropdown list for a form.  I want to create an xml file and populate it to include with my xsn.  I have all of the records in Excel 2007 that I want to use to populate the xml file, but cannot uncover how I can populate it with repeating records.

    I manually created an xml file containing 1 record using XML Notepad.  I try to Map the element to the Excel spreadsheet that has all of the records, but only 1 record gets recorded when I Export to xml.

     Anyone have another suggestion?

  • 05-27-2009 07:43 AM In reply to

    Re: Creating and populating an XML file

    I will answer my own post since I figured out how to do this.  I used XML Notepad to create a simple xml file with 1 temporary record.  I started Excel 2007 and from the toolbar selected Data/Get External Data/From Other Sources/From XML Data Import.

    Once I had that opened, I copied all of the records from my other spreadsheet into this one, sorted it, and saved it as an xml file.  Now I can used this one as the secondary datasource and include it with my XSN file.

     

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.