[xsd-users] Binding to references/links

Boris Kolpackov boris at codesynthesis.com
Tue Jun 3 14:45:28 EDT 2008


Hi Attila,

Attila <atteeela at gmail.com> writes:

> I am wondering if it is possible to reference (xlink?) other elements in an
> XML document and have CS XSD pick up the link and bind to these elements?

It is possible to achieve this with ID/IDREF XML Schema types. For more
information see the library example as well as Section 2.5.5, "Mapping
for IDREF" in the C++/Tree Mapping User Manual:

http://www.codesynthesis.com/projects/xsd/documentation/cxx/tree/manual/#2.5.5

Boris




More information about the xsd-users mailing list