>Take a look at CreateDOMDocument for an example

I have taken a look at CreateDOMDocument and made some progress with
building an 'uninitialized' DOM. However, I can't see how to load data
in the DOM? i.e. the values that would end up in between the XML tags?

I've had a trawl through the Xerces Class Directory but I cannot
identify any class that exposes the obvious methods to do this?

Any help appreciated.

Regards
Philip 

-----Original Message-----
From: Gareth Reakes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 03, 2005 1:37 AM
To: xerces-c-dev@xml.apache.org
Subject: Re: Generating and Serializing XML Docs using Xerces


Hi,

[EMAIL PROTECTED] wrote:
> 
> I have downloaded the Xerces C++ code and successfully compiled the 
> libraries, but what now? How do I create my schema compliant XML 
> files?

You cannot in the same way as you use castor, but you can create it at 
run time. Take a look at CreateDOMDocument for an example. At the moment

you would have to serialize it to memory and then re parse it to check 
validity. There is a DOM Level 3 spec that covers the kind of validation

at runtime you want but we have not implemented it.


Cheers,

Gareth



-- 
Gareth Reakes, Managing Director      Parthenon Computing
+44-1865-811184                  http://www.parthcomp.com

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