xerces-c-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vitaly Prapirny <m...@mebius.net>
Subject Re: generate an XML fragment for a node ?
Date Tue, 01 Sep 2009 06:26:45 GMT
Michael Ellery wrote:
> I'm wondering if there is a class or function in xerces that could be
> used to generate a string that represents the XML fragment for a given
> DOMElement node (that includes all children). I have a need to generate
> fragments from an existing DOM and would find this very useful.  If this
> is covered in the docs/faqs somewhere, feel free to point me to an
> appropriate resource.

Please look at
http://xerces.apache.org/xerces-c/faq-parse-3.html#faq-11
http://xerces.apache.org/xerces-c/program-dom-3.html#DOMLSSerializer

Good luck!
	Vitaly

Mime
View raw message