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

Re: RELAX NG Marketing


nes pa
[Jeff Lowery]


> But in order to know how to reorder the schema, you'd have to read the
> instance document. Oh, and continually reorder the schema depending on the
> element content currently being read.
>

Exactly.  But to get a schema to allow certain children in any order, you
have to check it every time, nes'pa?

> Perhaps there's more elegance there than is apparent?
>
I suppose they really meant that they wanted to __read__ the schema and
discover that any order would be allowed, rather than to __validate__ each
time.  But the question posed was for validation each time.  You have to
read the instance document for that.  I bet you could use it to set up a
stylesheet - maybe run a fast SAX pass first to just observe the order and
give the information to the stylesheet.

Maybe I better get my tongue out of my cheek before I bite it...

Cheers,

Tom P

> > Aha, payback time, eh, Jeff?
>
> Credit where credit is due, Tom.
>
> > The smallest performance hit
> > would be to use
> > an xslt stylesheet to reorder the __schema__, not the data
> > (after all, they
> > want to allow any order, right?)!
> >


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.