Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: CDATA tag missing even if specified CDATA tag missing even if specifiedTo: NULL Date: 5/13/2009 2:57:00 PM Hello group, i have to pieces of VB6 code, that add a CDATA section to an
element
Here are the excerpt of the relevant code
Dim goXMLOutPutRegUninstallDoc As New MSXML2.DOMDocument
Dim OutputString As String
Dim OutputBody As IXMLDOMCDATASection
Set goXMLOutPutRegUninstallOutput =
goXMLOutPutRegUninstallDoc.createElement("RegUninstalloutput")
Set OutputBody =
goXMLOutPutRegUninstallDoc.createCDATASection("___TEST")
goXMLOutPutRegUninstallOutput.appendChild OutputBody
The problem is the CDATA tag is not added ! i really dont know why ?
maybe someone could shed some light on this.
Thanks.
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
