[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Thinking about schema

  • To: Îâºþ <wuhu@i...>
  • Subject: Re: Thinking about schema
  • From: "Alistair Young" <alistair@s...>
  • Date: Fri, 16 Dec 2005 21:18:01 -0000 (GMT)
  • Cc: "xml-dev@l..." <xml-dev@l...>
  • Importance: Normal
  • In-reply-to: <20051216103038.F296AD34@d...>
  • References: <20051216103038.F296AD34@d...>
  • Reply-to: alistair@s...
  • User-agent: SquirrelMail/1.4.1

xsmodel
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>
>
>


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

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 click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.