You can download the sources for the serializer Jesse refers to from
http://www.xs4all.nl/~ewh/DOMSerializer/
There's some documentation there, as well.

T, Evert

> -----Original Message-----
> From: Jesse Pelton [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 14, 2002 7:42 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: loadXML() and get_xml() equivalents for the DOM_DOCUMENT
>
>
> See the DOMPrint example for an example of serializing a DOM
> hierarchy. If I
> recall correctly, you'll need to adapt the example to serialize
> to a string
> rather than a stream, but it's not hard to do. You can also look in the
> archives for this mailing list
> (http://marc.theaimsgroup.com/?l=xerces-c-dev). People have posted
> serializers to the list in the past.
> http://marc.theaimsgroup.com/?l=xerces-c-dev&m=101783957405289&w=2
>  presents
> one such serializer, which could be adapted to write to a string buffer
> rather than a stream.
>
> -----Original Message-----
> From: Dean Roddey [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 14, 2002 1:25 PM
> To: [EMAIL PROTECTED]
> Subject: Re: loadXML() and get_xml() equivalents for the DOM_DOCUMENT
>
>
> The parser works in terms of 'input sources'. Pass in a memory
> buffer input
> source instead of a file input source. When you pass in a quoted string,
> that's just a convenience that internally creates either a file
> or URL input
> source for you. Look at the MemParse example.
>
> --------------------------
> Dean Roddey
> The Charmed Quark Controller
> Charmed Quark Software
> [EMAIL PROTECTED]
> http://www.charmedquark.com
>
> "If it don't have a control port, don't buy it!"
>
>
> ----- Original Message -----
> From: "Lombardo, Lisa" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, May 14, 2002 8:37 AM
> Subject: loadXML() and get_xml() equivalents for the DOM_DOCUMENT
>
>
> >
> > Hi.  I had been using the MSXML 2.0, 3.0 and 4.0 looking for needed
> > functionality.
> > I did not find it.
> >
> > I moved over to Xerces C++ for the needed functionality.
> >
> > I am now trying to find the equivalent functionality in Xerces C++ that
> > MSXML offered.
> >
> > Basically, the MSXML had a method to loadXML() that allowed me
> to pass in
> a
> > character string representation of an XML document.
> > Also, it had a get_xml() method that allowed a built XML document to be
> > returned in a character string representation.
> >
> > Does the Xerces C++ API offer this ability?  I did not see it on the
> > DOM_Parser or the DOM_Document?
> >
> > Lisa
> > ________________________________
> > Lisa Lombardo
> > Software Engineer/Chief Fun Officer
> > [EMAIL PROTECTED]
> >
> > COURION CORPORATION
> > phone 508 879-8400, ext. 203
> > fax 508 879-8500
> > www.courion.com <http://www.courion.com/>
> > ______________________________________________
> > THIS EMAIL CONTAINS CONFIDENTIAL INFORMATION
> > AND IS INTENDED FOR THE RECIPIENT ONLY. PLEASE
> > DELETE THIS IF YOU HAVE RECEIVED IT IN ERROR.
> > ______________________________________________
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to