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)
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>
|
|
|
|