logo       

RE: problem in creating DOMDocuments: msg#00108

text.xml.xerces-c.user

Subject: RE: problem in creating DOMDocuments

No, you're going to do the same thing you are doing when you call load
in Javascript. Put the xml document in a buffer and then tell Xerces to
parse it. Then you'll get a DOM in memory where you can add text node,
attributes, etc. Same concept as javascript.

Alex Jacinto

-----Original Message-----
From: Alexis Blaze [mailto:lyoneil_de_sire@xxxxxxxxx]
Sent: Thursday, December 28, 2006 12:14 PM
To: c-users@xxxxxxxxxxxxxxxxx
Subject: RE: problem in creating DOMDocuments




By parse the document, do you mean that i need to parse the document
using sax or dom, and put every element, attributes, text, etc on a
DOMDocument? I can understand that approach.. But, is there any other
more simple approach?? bacause it rather complicated to created a
special parser just to do this stuff..


Jacinto, Alex wrote:
>
> Alexis,
>
> You need to parse the document then add whatever you want. See the
> parsing examples.
>

--
View this message in context:
http://www.nabble.com/problem-in-creating-DOMDocuments-tf2891037.html#a8
077218
Sent from the Xerces - C - Users mailing list archive at Nabble.com.



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

News | FAQ | advertise