[
Lists Home |
Date Index |
Thread Index
]
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@flightlab.com
|