Sorry, I am resending this because I'm not sure if the original made it. ________________________________ From: Johnson, Matthew C. (LNG-HBE) Sent: Friday, October 01, 2010 3:47 PM To: j-users@xerces.apache.org Subject: finding containing context
Hi all, I am looking to use the Xerces API to 1) build an in-memory representation of a XML Schema (XSD) and 2) “query” that representation. An example query is to list all of the contexts in which a given element is allowed. As of now, I have been able to use the XMLSchemaLoader class to get a XSModel instances from which I can do simple things such as listing all namespaces in addition to get the definition of a known element. However, I am not seeing how to do things like getting a list of all elements allowed (from which I could build a map). Could someone give me a pointer on where to look? Thanks. Matt --------------------------------------------------------------------- To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org For additional commands, e-mail: j-users-h...@xerces.apache.org