You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Lombardo, Lisa" <ll...@courion.com> on 2002/05/14 17:37:25 UTC

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
llombardo@courion.com

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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: loadXML() and get_xml() equivalents for the DOM_DOCUMENT

Posted by Dean Roddey <dr...@charmedquark.com>.
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
droddey@charmedquark.com
http://www.charmedquark.com

"If it don't have a control port, don't buy it!"


----- Original Message -----
From: "Lombardo, Lisa" <ll...@courion.com>
To: <xe...@xml.apache.org>
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
> llombardo@courion.com
>
> 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: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org