Hi,

Many thanks for this. I will investigate.

However, do you happen to know if the Xerces support in XML Spy
Enterprise 2005, together with the Xerces parser itself, equates to the
'Castor' solution?

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