Xerces includes several sample programs.  CreateDOMDocument.cpp demonstrates 
how to construct a DOM document using createElement() and related calls.

The documentation for createElement() is at 
http://xerces.apache.org/xerces-c/apiDocs-3/classDOMDocument.html#f5e93a6b757adb2544b3f6dffb4b461a.

Tutorials on the DOM are outside the scope of the Xerces project.  You can do a 
Google search or visit a bookstore.  W3Schools has an online tutorial at 
http://www.w3schools.com/dom/default.asp.  It uses JavaScript rather than C++, 
but the DOM is by design language-neutral, so the concepts in the tutorial 
apply equally to Xerces.  (This is not to say that there are no Xerces-specific 
features, some of which you'll need to know about.  See the Xerces site: 
http://xerces.apache.org/xerces-c/program-3.html.)


-----Original Message-----
From: K.WIKI [mailto:kgou...@gmail.com]
Sent: Thu 6/25/2009 7:29 AM
To: c-users@xerces.apache.org
Subject: RE: Xerces and special caractere < >
 

Thansk for your replay,

do you have any link to DOMDocument::createElement() Tutorial plz??





Jesse Pelton wrote:
> 
> Are you using DOMDocument::createElement() to create your element?  If
> not, you should, and you might want to read a DOM tutorial.
> 
> 
> -----Original Message-----
> From: K.WIKI [mailto:kgou...@gmail.com]
> Sent: Thu 6/25/2009 7:01 AM
> To: c-users@xerces.apache.org
> Subject: Xerces and special caractere < >
>  
> 
> Hi 
> 
> 
> I have a string with tags like that Med... 
> 
> now I want create a XML File with a tag  when I add My string 
> 
> So whene I create My XML File with , the caractere < changed to &lt;
> 
> 
> can any body help mu plz??
> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/Xerces-and-special-caractere-%3C-%3E-tp24201194p24201194.html
> Sent from the Xerces - C - Users mailing list archive at Nabble.com.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Xerces-and-special-caractere-%3C-%3E-tp24201194p24201516.html
Sent from the Xerces - C - Users mailing list archive at Nabble.com.


Reply via email to