Hello,
Is it possible to extract annotations from the actual enumeration
values? I've had a lot of luck with annotations so far, but this one
is a real stumper. Since enumerations are just facets on the base
string, is there even a annotated schematype for which to retrieve the
annotations?
Thanks,
Ed
e.g.
..snip...
<xs:element name="my-enum">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="val1">
<xs:annotation>
<xs:appinfo>
<myns:myelement>annotation1</myns:myelement>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="val2">
<xs:annotation>
<xs:appinfo>
<myns:myelement>annotation2</myns:myelement>
</xs:appinfo>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:element>
..snip...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]