[Home] [By Thread] [By Date] [Recent Entries]
> W3C XML Schema doesn't support this, true. I'm not a RELAX expert,
> but I don't it does either.
RELAX can handle this in this way.
<elementRule label="foo">
<tag name="foo">
<attribute name="class">
<enumeration value="abc" />
</attribute>
</tag>
... content model for <foo class="abc"> ...
</elementRule>
<elementRule label="foo">
<tag name="foo">
<attribute name="class">
<enumeration value="def" />
</attribute>
</tag>
... content model for <foo class="def"> ...
</elementRule>
regards,
----------------------
K.Kawaguchi
E-Mail: k-kawa@b...
|

Cart



