[XML-DEV Mailing List Archive Home]
[Reply To This Message]
RE: building an object model of a XML schema
- From: Michael Brennan <Michael_Brennan@a...>
- To: 'Adriano Venturini' <venturi@i...>, xml-dev@l...
- Date: Tue, 10 Jul 2001 11:58:40 -0700
haven't really seen much for this. You can check out Castor, though: http://castor.exolab.org/ It's the
one tool I know of for this sort of thing. If you find anything else, let me
I have defined a set of schemas that model the
data model of our project.
We use the schemas for validating purpose, but
we need also to programmatically read the schema and
to understand the structure of a document
compliant with the schema.
For example, given a schema model
that contains a
LODGING_SERVICE element that contains three elements: NAME,
LOCATION and COST,
I need an API that returns this structure,
along with the datatypes of the NAME, the LOCATION and the COST fields (i.e.
like a data dictionary of an RDBMS ).
Obviously I could use an XML parser, but I
would implement a very limitated component.
Is there any library that read a schema and
provide an object model of the schema itself ?
Thanks in advance,
Electronic Commerce and Tourism Research Laboratory
Sommarive 18, 38050 Povo (TN)
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
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please