[xsd-users] examples\cxx\tree\library

Boris Kolpackov boris at codesynthesis.com
Tue Jun 13 14:40:32 EDT 2006


Hi Nicholas,

Nicholas Grimes <Nicholas_Grimes at raytheon.com> writes:

> I have built the XSD demo projects, specifically the aformentioned example,
> and have a question. The driver.cxx constructs a "book b" that it inserted
> and serialized out to the xml file. Question is that when I look at the
> library.xml I do not see the inserted book. Am I missing something here ?


The example does not serialize to library.xml, instead it just dumps
the XML to STDOUT (std::cout):

// Write it out.
//
catalog (std::cout, *l, map);


If you want it in a file, you can change the line about to something
like this:

std::ofstream ofs ("out.xml");
catalog (ofs, *l, map);


> Boris, I work with the Vandy guys and was using XSC but found XSD which is
> a mastly superior product.

Thanks. This is the "take two", so to speak ;-). BTW, do you know Ricky H
Linh <Ricky_H_Linh at raytheon.com>? He is also from Raytheon and seems to
be using XSD. There are a couple of emails in the archives from him.


-boris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20060613/f2b634d2/attachment.pgp


More information about the xsd-users mailing list