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] Thinking about schema

[ Lists Home | Date Index | Thread Index ]

Have you looked at XMLBeans? Given a/multiple schema it will turn it/them
into Java objects. A truly superb tool indeed! If you find schema files
difficult to read, you could run it through XMLBeans and get an object
hierarchy, then load it into an IDE like IDEA and use it's navigation
capabilities to look at the schema as Java classes.

Using such classes, you can read/write xml files coforming to that schema.

-- 
Alistair Young
Senior Software Engineer
UHI@Sabhal Mòr Ostaig
Isle of Skye
Scotland

> 	I 'm exploring what xml schema could do for us and what functionalities
> the programming api now available for us has implemented.
> 	First of all ,I think most of people use schema to check if a xml file is
> valid.Then we could use XSModel to find out element names and types being
> defined in this xsd document,that is to say,these names and only these
> names would have chance to appear in a valid xml file attached to this
> schema.
> 	Then? I 'm not sure if the programming api has provided us an easy way to
> dig out the hidden structure presented in a .xsd file.i.e.could we
> construct a tree that present the schema provided only a single .xsd
> file?
> 	And then?...Are there any more things could and should be done by xml
> schema? Or what further functionalities are we expecting to add to schema
> as xml evolves itself.Hope you could think about it.
> 	As you 'v seen, I 'm far from a xml expert,I 'm just ask for help from
> experts and if there is any idea coming to you when you are reading,that
> is just what I 'v hoped.
>
> p.s. As for programming api , I mainly refered to xerces.J. It is kinda
> complicated and confusing to use concerning the schema handling part ,at
> least for me.Are there any other solutions easier than this?I thirst for
> them sooo much.
>
>
> Best Regards.
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
>
>





 

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

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