[Home] [By Thread] [By Date] [Recent Entries]

  • From: Kohsuke KAWAGUCHI <k-kawa@b...>
  • To: ht@c... (Henry S. Thompson), xml-dev@l...
  • Date: Fri, 02 Mar 2001 16:44:31 -0800


> 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...


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member