
XML tree in Word Document to appear the same in HTML source file
I have been using XML data islands in my word document and
want these islands to appear the same in the HTML source
view of the document. In other word, I want XML islands to
appear in the HTML source view file (not in the web
browser) as an XML tree. I have not been successful in
accomplishing this so far. For example, if word document
contains
<parentNode>
<childNode>Some text</ childNode >
</ parentNode >
The HTML source view file shows this XML island as:
<p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-
font-size:12.0pt'><parentNode><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-
font-size:12.0pt'><span
style='mso-tab-count:1'>
</span><childNode>Some text</ childNode
Quote:
><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;mso-bidi-
font-size:12.0pt'></
parentNode ><o:p></o:p></span></p>
I do not want all those formatting tags in between. I
simply want above HTML source code to look like the
following, in the HTML source file:
<p>
<parentNode>
<childNode>Some text</ childNode >
</ parentNode >
</p>
Please advise.
Thank you,
CS