Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component


Index of Chilkat Blog Posts

August 6, 2007

XML: How store a node and all its children to a string memory buffer

Question:
I’m currently using Xml library and find it very useful. I’m have a quick question.

Is there a way to store a node and all its children to a string memory buffer in order to avoid the SaveXml to a temporary file?

Answer:
Yes, GetXml() returns the XML document in a string. GetXml can be called from any node in the XML document. It writes XML to a string that includes the node and all of it’s children/descendants.


Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.