logo       

RE: How do I load str into DOM: msg#00066

text.xml.xerces-c.user

Subject: RE: How do I load str into DOM

Nick,

You can do it through MemBufInputSource. Look at the included sample
named MemParse. There are also code snippet in the archives.

Alex Jacinto

-----Original Message-----
From: Nick Warrington [mailto:Nick.Warrington@xxxxxxxxxxxxxxxx]
Sent: Wednesday, December 20, 2006 11:25 AM
To: c-users@xxxxxxxxxxxxxxxxx
Subject: How do I load str into DOM


Hi All

I have written some C++ code that loads an XML file using Xerces DOM
from an XML file and does some stuff with it. I would like to be able to
do the same thing but from a string instead of a file. How on earth do I
do it?

This seems to me like a lame question. However, I can't find any
examples or documentation that describe how to do this.

Thanks in advance.

Nick







<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise