[xsd-users] Access of <xs:annotation>/<xs:documentation>
information from _schema_
Andrei Zakharov
z-andrew at yandex.ru
Wed Aug 21 09:56:04 EDT 2019
Hi,
Â
Suppose I have xsd schema with annotations like that:
Â
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType name="hello_t">
<xs:annotation>
<xs:documentation>
The hello_t type consists of a greeting phrase and a
collection of names to which this greeting applies.
</xs:documentation>
</xs:annotation>
...
Â
Is it posible to access <xs:annotation>/<xs:documentation> information
from __schema__ using  C++/Tree mapping? I try to pickup such
documentation info from schema for a usage in my code. Instance of XML
doc by itself isn't interested in this case.
If not, maybe you could provide a way to tune xsd schema so that tree
mapping could obtain such descriptive information?
Â
Thanks,
Andrei.
More information about the xsd-users
mailing list