xerces-c-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Warrington" <Nick.Warring...@PACONSULTING.COM>
Subject RE: How do I load str into DOM
Date Fri, 05 Jan 2007 09:30:50 GMT
Thanks all. 

After a long Xmas break I am having to get my head back round it all
again. I have followed the example you all suggested and it seemed to
work ok.

Nick
 

-----Original Message-----
From: Jesse Pelton [mailto:jsp@PKC.com] 
Sent: 20 December 2006 16:36
To: c-users@xerces.apache.org
Subject: RE: How do I load str into DOM

Have you looked at the MemParse sample?  It uses a SAX parser, but the
technique (create and use a MemBufInputSource) is the same for DOM
parsers. 

-----Original Message-----
From: Nick Warrington [mailto:Nick.Warrington@PACONSULTING.COM] 
Sent: Wednesday, December 20, 2006 11:25 AM
To: c-users@xerces.apache.org
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








Mime
View raw message