Link to home
Start Free TrialLog in
Avatar of inges
inges

asked on

xml dom object

Can you save an xmldomdocument as as string?
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

Try,

Dim xmlDoc As String
Dim strXML As String

...

strXML = xmlDoc.xml
Avatar of Dave_Greene
Dave_Greene

<ping>

<<Correction>>

Dim xmlDoc As DOMDocument

ASKER CERTIFIED SOLUTION
Avatar of Dave_Greene
Dave_Greene

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
are u referring to save it into the db as a string?

Yes, u can, do as Dave_Greene solution. when u want to insert it into the db, for instance, MSSQL 7.0, just make your field to be ntext as XML string is really huge....

good luck.

Avatar of inges

ASKER

Thanks !!! Just what I needed!