xerces-c-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ellery <mi...@s2technologies.com>
Subject Re: generate an XML fragment for a node ?
Date Tue, 01 Sep 2009 17:05:45 GMT
Vitaly Prapirny wrote:
> 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

Thanks for the advice.  Sadly, my project still uses Xerces 2.8 and
these classes don't appear to be there. I see something called
DOMDocumentFragment, but I'm not sure if that will do what I need. Do I
have any decent option in xerces 2.8?


View raw message