[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Ann: XSL stylesheet performing the Relax NG simplification
Hi,
I have uploaded a XSLT transformation performing most of the
simplification described in the Relax NG specification:
http://downloads.xmlschemata.org/relax-ng/utilities/
I have found this transformation
(http://downloads.xmlschemata.org/relax-ng/utilities/simplification.xsl)
useful to understand the simplification process and it exposes the
intermediary results step by step.
To run it, you'll need a XSLT processor supporting the exsl:document
(used to write the intermediary steps) and xsl:node-set (used to perform
the different steps in a single stylesheet) extension.
I think that some understanding of the simplification is often needed to
understand error messages by Relax NG processors and may interest not
only implementers but also schema developers and I have used it for the
corresponding chapter in my book:
http://books.xmlschemata.org/relaxng/RngBookRestrictions.html
The transformation is not totally complete nor fully tested and error
reports are welcome.
Also, I think that it could be a good feature for Relax NG processors
(and maybe for Trang?) to have an option to dump the simplified schema.
Hope this will help.
Eric
--
Tired to type XML tags?
http://wikiml.org
------------------------------------------------------------------------
Upcoming Schema languages tutorial (registration open):
- July 7th (Portland, OR) http://makeashorterlink.com/?K27A527A4
- August 4th (Montreal, Canada) http://makeashorterlink.com/?U28A217A4
------------------------------------------------------------------------
Eric van der Vlist http://xmlfr.org http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]