[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: ANN: RELAX NG shorthand
Sorry for a spam.
[DISCLAIMER] This software is nothing to do with Sun Microsystems. It is
developed last night in my off time.
I've wrote a simple XSLT stylesheet that allows you to write a RELAX NG
schema in concise way, and produce a fully compliant RELAX NG schema
automatically.
See the documentation and download the stylesheet at:
http://www.geocities.com/kohsukekawaguchi/relaxng/shorthand/ShortRNG.html
For example, you can write
<attribute name="abc" type="NMTOKEN" occurs="?"/>
to get
<optional>
<attribute name="abc">
<data type="NMTOKEN"/>
</attribute>
</optional>
regards,
--
Kohsuke KAWAGUCHI +1 650 786 0721
Sun Microsystems kohsuke.kawaguchi@sun.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC