RE: Generating and Serializing XML Docs using Xerces

2005-03-12 Thread david_n_bertoni
> 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? Those "values" are text node children. > I've had a trawl through the Xerces Cla

RE: Generating and Serializing XML Docs using Xerces

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

RE: Generating and Serializing XML Docs using Xerces

2005-03-07 Thread Scott Cantor
> Because it uses the SAX Parser and therefore can only handle > statements? > > But this doesn't compromise the validation or schema compliance, does > it? We mean you can't pass a DOM in and ask "is this schema-valid?". You have to parse the actual raw XML (with SAX or DOM). Schema validity ha

RE: Generating and Serializing XML Docs using Xerces

2005-03-07 Thread philip_mott
mpromise the validation or schema compliance, does it? Regards Philip -Original Message- From: Gareth Reakes [mailto:[EMAIL PROTECTED] Sent: Monday, March 07, 2005 11:53 AM To: xerces-c-dev@xml.apache.org Subject: Re: Generating and Serializing XML Docs using Xerces Hey, On 7 Mar

Re: Generating and Serializing XML Docs using Xerces

2005-03-07 Thread Gareth Reakes
Hey, On 7 Mar 2005, at 19:40, <[EMAIL PROTECTED]> wrote: 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. Cheers, Gareth -- Gareth Reakes, Managing Director Parthenon Computing +44-1

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 an

RE: Generating and Serializing XML Docs using Xerces

2005-03-03 Thread Scott Cantor
> 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 What I think is convoluted isn't necessarily for others, I'm just expressing my opinion base

RE: Generating and Serializing XML Docs using Xerces

2005-03-03 Thread philip_mott
schema, then serialize? Regards Philip -Original Message- From: Scott Cantor [mailto:[EMAIL PROTECTED] Sent: Thursday, March 03, 2005 11:03 AM To: xerces-c-dev@xml.apache.org Subject: RE: Generating and Serializing XML Docs using Xerces > Would you have anymore insight? (even if it

RE: Generating and Serializing XML Docs using Xerces

2005-03-03 Thread Scott Cantor
> Would you have anymore insight? (even if it was speculation). When I ran it just to evaluate it, it was generating a set of C++ code that interfaced with code they supplied as well as Xerces and I found the whole thing inordinately convoluted. But then, I think all data binding solutions are in

RE: Generating and Serializing XML Docs using Xerces

2005-03-03 Thread philip_mott
- From: Gareth Reakes [mailto:[EMAIL PROTECTED] Sent: Thursday, March 03, 2005 10:35 AM To: xerces-c-dev@xml.apache.org Subject: Re: Generating and Serializing XML Docs using Xerces Hi, I have not used the enterprise edition, but my understanding was that it is still a desktop to

Re: Generating and Serializing XML Docs using Xerces

2005-03-03 Thread Gareth Reakes
lto:[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 com

RE: Generating and Serializing XML Docs using Xerces

2005-03-03 Thread philip_mott
TED] 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 s

Re: Generating and Serializing XML Docs using Xerces

2005-03-03 Thread Gareth Reakes
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.