[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RELAX NG Marketing
[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! 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
|