RE: Generating and Serializing XML Docs using Xerces

2005-03-12 Thread philip_mott
>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 C

RE: Generating and Serializing XML Docs using Xerces

2005-03-07 Thread philip_mott
>>> You can't actually validate in memory with Xerces-C. >> Doesn't the sample MemParse do just this? > By in memory we mean a parsed document, not an in memory string. Because it uses the SAX Parser and therefore can only handle statements? But this doesn't compromise the validation or schema

RE: Generating and Serializing XML Docs using Xerces

2005-03-07 Thread philip_mott
> You can't actually validate in memory with Xerces-C. Doesn't the sample MemParse do just this? Regards Philip -Original Message- From: Scott Cantor [mailto:[EMAIL PROTECTED] Sent: Thursday, March 03, 2005 11:37 AM To: xerces-c-dev@xml.apache.org Subject: RE: Generating and Serializing

RE: Generating and Serializing XML Docs using Xerces

2005-03-03 Thread philip_mott
Hi, I guess that this is my worry. If it created source code that could seamlessly instantiate a DOM object that could be serialized, I would be happier to go down this route, but if it is convoluted Would your approach be to build the DOM from scratch then parse/validate in memory, with the

RE: Generating and Serializing XML Docs using Xerces

2005-03-03 Thread philip_mott
Hi, Yes, I think that you are correct, it has no programmatic API (as far as I know). However, it does have a manual code generator supporting Xerces C++ so my thinking was that you could manually create the Xerces C++ compatible source code (C++ classes I might imagine?) from the XML-Spy/Schemas,

RE: Generating and Serializing XML Docs using Xerces

2005-03-03 Thread philip_mott
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:

Generating and Serializing XML Docs using Xerces

2005-03-02 Thread philip_mott
Hello Everyone, Without getting into Xerces for the moment, let me first explain what I want to achieve. I have a need to generate XML documents in compliance with an already established XML schema. I considered that one way would be to use some XML data binding utilities i.e. a source generator

RE: Xerces on HP-UX 10.20 with aCC A.01.21

2005-02-16 Thread philip_mott
Hello, I have been trying unsuccessfully to install and build xerces-c on HP-UX 10.20 with aCC A.01.21. I am encountering a compiler error on an overloaded delete method in XMemory.hpp.=20 >From the archive mailing lists at http://marc.theaimsgroup.com/?l=3Dxerces-c-dev_ I understand that this i

Xerces on HP-UX 10.20 with aCC A.01.21

2005-02-16 Thread philip_mott
Hello, I have been trying unsuccessfully to install and build xerces-c on HP-UX 10.20 with aCC A.01.21. I am encountering a compiler error on an overloaded delete method in XMemory.hpp. >From the archive mailing lists at http://marc.theaimsgroup.com/?l=xerces-c-dev_ I understand that this is du