Creating xml files prepopulated with Data - InfoPath Dev
in

InfoPath Dev

Creating xml files prepopulated with Data

Last post 12-07-2011 04:33 AM by Skarn. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-06-2011 10:33 AM

    Creating xml files prepopulated with Data

    I have an infopath form I am precreating the XML files for. This works well except the Rich Text dialog boxes are not taking into account the <ENTER> control so is stringing all the data together. I'm using VBScript too create these files with the following methods

     xmlDoc.getElementsByTagName(ArrHeading(i))
     xmlDoc.Save OutputLoc

  • 12-07-2011 04:33 AM In reply to

    • Skarn
    • Top 50 Contributor
      Male
    • Joined on 04-20-2008
    • Australia
    • Posts 198

    Re: Creating xml files prepopulated with Data

    You may need to pre-convert the characters/coding before assigning to the text property of your XML nodes. Rich Text in Infopath XML uses XHTML formatting.

    A good way to see what Infopath expects to see in a rich text node would be to create a template with a rich text field, populate the form, save it and have a look at the raw XML.

    Then replicate the formatting schema with your vbScript XML construction.

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