[xsd-users] XML Object to String/Text

Boris Kolpackov boris at codesynthesis.com
Wed Feb 21 11:54:35 EST 2007


Hi Paddy,

Paddy Vishnubhatt <Paddy.Vishnubhatt at 3leafnetworks.com> writes:

> Q: Is there an API that I can generically use to create DOMDocument
> objects from any XSD-driven object?

One (easy) way would be to create a function template from the code
I sent you in another email.

A more elaborate method which can serialize any type via
xml_schema::type (base for all generated types) is described in this
message:

http://www.codesynthesis.com/pipermail/xsd-users/2006-August/000501.html

Note that in the latest version the "type_name_*" names were changed to
"type_serializer_*".


hth,
-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/20070221/d5fa5b8c/attachment.pgp


More information about the xsd-users mailing list