[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: Convention for mimicking inheritance in RELAX NG
I created a syntax sugar for this convention. You can write
<class name="animal" abstract="true"/>
<class name="mamal" base="animal" abstract="true"/>
<class name="cat" base="mamal">
<optional>
<attribute name="color"/>
</optional>
</class>
.
By applying the attached XSLT stylesheet, you get a RELAX NG schema.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC