examine XML Schema 2003-07-14 - By Lingzhi Zhang
Hi,
I am wondering the way to examine XML Schema and retrieve useful information to build my own representations of the Schema for my application. Specificially, I wish to extract the child(children) and parent of types defined in the Schema. For example, if there is a schema like
type book {title, year, authors, ISBN},
how to get the children (title, year, author, ISBN) of type book, and how to find out that the parent of title, year, author, ISBN is book by parsing the schema? I used the schema preparser and get an XSModel of the schema, however, I couldn't find any method in ComplexTypeDefinition and SimpleTypeDefinition interface which provides this functionality. Could Xerces do this? and How to do it? Thanks.
Stephen
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|