Enumerations

Folks,

I have a question related enumerations within a schema. In W3C schemas it is possible to define enumerations for a certain tag. is it possible to get this data via Tamino4J API and use this information within a program? If yes, how does it work?

Thanks,
Harald

TSD3 Schemas are stored in doctype “xs:schema” in collection “ino:collection”. Thus, they can be accessed via arbitrary queries, e.g.

_xql=/xs:schema[//tsd:schemaInfo/@name=“yourSchema”]…

However, you have to have a certain knowledge about the structure of your schema in order to be sure that you query the correct xs:enumeration elements.