DOM object is string format

  • Thread starter Thread starter Doug Bailey
  • Start date Start date
D

Doug Bailey

I am using .NET2003 and have a question about XML DOM conversion.

I have a XmlNode that I want to convert into a String respresentation
including all its attributes and children. I see how to use a
xmlTextwriter to output the data inot a file. Any ideas as to how to
dump it into a String variable?

Thanks
Doug Bailey
 
I have a XmlNode that I want to convert into a String respresentation


have you tried XmlNode::OuterXml (String* get_OuterXml())?

ben
bschwehn.de
 
Ben Schwehn said:
have you tried XmlNode::OuterXml (String* get_OuterXml())?

ben
bschwehn.de

That was what I needed. Thanks for the help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top