I'm using Microsof XML 3 to build XML files and then tranform them to html using XSL.
My problem is the folowing :
One of my XML nodes content is HTML code.
I'm creating the node using the folowing code :
Set XMLItem = XMLDom.createElement("Text")
XMLItem.Text = oRs("Text")
oRs("Text") is a recordset field thas as HTML code for ex:(<span class="paintext">This is a test</span>)
My problem is that the xml content isn't the same of the recordset field. The parser is encoding the string. I need to place the string as is.
I also tryed to use cdata like this
XMLItem.Text = "<![CDATA[" & oRs("Text") &"]]>"
but the <![ chars get encoded to.
Is there any way to solve this problem????
Please this is realy urgent.