Update XML file, Modify RTF field

Author Message
rowdy19

  • Total Posts : 2
  • Scores: 0
  • Reward points : 0
  • Joined: 12/5/2011
  • Status: offline
Update XML file, Modify RTF field Monday, December 05, 2011 4:12 AM (permalink)
0
I'm updating an XML (infopath) file using VBScript. I noticed that some of my TXT is being strung together when the source document I'm reading from is seperated. It appears these fields are RTF and need to stay that way. Does anyone know how to update to an RTF XML field while preserving the CRLF spacing? I'm not concerened with any other special charactors.
 
I'm using the methods below just to help you understand how I am writting the info.
 CreateObject("Msxml2.DOMDocument")
xmlDoc.getElementsByTagName(ArrHeading(i))
 xmlDoc.Save OutputLoc
If I modify the infopath form in the filler, it appears the XML gets updated as follows
<div xmlns="http://www.w3.org/1999/xhtml">Text goes in there </div>
<div xmlns="http://www.w3.org/1999/xhtml">Text Second Line in here </div>
Not sure if this helps, perhaps I just need to replace CTRL with these strings. Any help would be appreciated.
<message edited by rowdy19 on Monday, December 05, 2011 4:20 AM>
 
#1

    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.9