Re: Java API for Accessing XML Schema
Hayden Marchant wrote: > > I am looking for an API that will give me a complete view of the whole XMLSch > ema - attributeGroups, element groups, references to attribute groups, knowle > dge of the location of a definition of an object (i.e. tracking of imported/i > ncluded constructs), documentation tags, etc... I need the sort of API that a > typical XML Schema GUI Tool has internally. > > There are plenty of implementations of XML Parsers [...] > that are internally parsing an XML Schema into a java object. > > However, I have found that the XML Parsers generally do not keep all of the s > chema information - they only keep what is relevant for validation [...] > > Does anyone know of such an API out there that will be rich enough for my nee > ds? Just use one of the usual toolkits for plain XML (SAX, DOM, jdom, etc.). The main reason W3C XML Schema uses XML instance syntax instead of something more human-readable is to make this sort of thing possible... --Joe English jenglish@f...
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format