Rob,

Take a look at the MemBufInputSource class. You can use this for SAX and
wrap it in a Wrapper4InputSource if you want to use DOM.

Good luck

-----Original Message-----
From: Robert G. Ristroph [mailto:[EMAIL PROTECTED]
Sent: 21 February 2005 18:31
To: xerces-c-dev@xml.apache.org
Cc: [EMAIL PROTECTED]
Subject: parsing a string already in memory


Hi,
   I am new to xerces.  I am using the C++ library.

   I would like to parse a string that is already in memory, but all the
documentation and examples I have found call the parser with a filename.  It
would be clumsy for my application to write out a file just to parse the
xml.

   Is there an example, tutorial, or some other documentation that parses a
string already in memory ?

   I can use either the DOM or SAX interface, if that makes a difference.

   Thanks in advance,

--Rob

--
Robert G. Ristroph
Airlink Systems
[EMAIL PROTECTED]
(512) 231-1240 x103





----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------------------------
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