Hi,

I have not used the enterprise edition, but my understanding was that it is still a desktop tool for the creation of XML docs and schemas. I did not think it had a programmatic API for you to integrate with. If it does, I would be interested in hearing about it.

Cheers,

Gareth

[EMAIL PROTECTED] wrote:
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]



Reply via email to