RE: schemas and xslt 2.0 (was something else)
You can of course validate your input against a Relax-NG schema, but Relax-NG isn't designed to generate type information, only to give a yes-or-no answer. So it doesn't produce any output that would be useful as input to XSLT processing. One day I hope to have the time to explore the use of alternative schema languages with Saxon - but my priorities for development are always first to conform to the spec, then to think about extensions. On the output side, for example, there's no reason why integrating result tree validation with stylesheet processing shouldn't work just as well with Relax NG as with XML Schema. Michael Kay > -----Original Message----- > From: Bruce D'Arcus [mailto:bdarcus@xxxxxxxxxxxxx] > Sent: 11 September 2004 19:42 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: schemas and xslt 2.0 (was something else) > > > On Sep 11, 2004, at 2:21 PM, Michael Kay wrote: > > > Saxon-SA implements the "schema-aware" facilities of the XSLT 2.0 > > working > > draft. This means you can: > > > > - validate your input documents against a schema > > How tied to XML Schema is this? > > While I generate XML Schemas, I author in RELAX NG, and often rely on > features unsupported elsewhere (such as attribute-based validation). > > Bruce
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