OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Schema builder API like DOM

[ Lists Home | Date Index | Thread Index ]

Chandrashekhar Otari wrote:
> Currently I'm working on one project which contains the XML and Schemas 
> (not DTDs). I'm looking for any good API which allows me to create DOM 
> like tree structure by parsing Schema .xsd files. Can anyone help me for 
> the same?

There is a Java API for Eclipse (cleverly) called XSD. You can get more 
info here: http://download.eclipse.org/technology/xsd/scripts/home.php

While it's true that many validating parsers produce an internal 
representation of a schema, the representation may not be what you want. 
XercesJ, for example, creates a "flattened" representation that shows 
the net result of a type derivation tree for each particle. This is 
great for validation but not so great if you want to see the actual 
topology of the schema.

Bob Foster
http://xmlbuddy.com/





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS