[xsd-users] Attribute order on serialization.
Boris Kolpackov
boris at codesynthesis.com
Fri Jan 5 14:13:42 EST 2007
Hi Russell,
Russell C. Johns <johns at lanl.gov> writes:
> Is there a way to get the attributes to be dumped in the order they are
> declared in the schema? it appears that they are sorted alphabetically.
No, I am afraid it is not possible. The C++/Tree runtime uses DOM to
serialize the in-memory representation to XML. DOM stores attributes
in a map with the attribute name as a key.
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/20070105/66a3404d/attachment.pgp
More information about the xsd-users
mailing list