FredsFriend
Programmer
Hi i'm not sure of how to specify in a W3C schema that the first element only has a specific attribute.
e.g.
<example>
<component firstOnly="stuff">one</component>
<component>two</component>
<component>three</component>
</example>
Or can this sort of thing only be done with RELAX NG or Schematron?
e.g.
<example>
<component firstOnly="stuff">one</component>
<component>two</component>
<component>three</component>
</example>
Or can this sort of thing only be done with RELAX NG or Schematron?