← Prev in month ← Prev in thread
Next in thread → Next in month →

ANN: RELAX NG shorthand

From
Kohsuke KAWAGUCHI <>
Date
2001-08-16T20:07:41+00:00
ID
Thread
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                   
← Prev in month ← Prev in thread
Next in thread → Next in month →