Hello

I use a dom builder and I have a problem with a key to validate an id in
more than one element.

This key don't work
<xs:key name="IdKey">
      <xs:selector xpath="./book/chapter|./book/page"/>
      <xs:field xpath="@Id"/>
</xs:key>

but this work
<xs:key name="IdKey">
      <xs:selector xpath="./book/page"/>
      <xs:field xpath="@Id"/>
</xs:key>

I deduce that | isn't possible in the selector.

How doing this?

Reply via email to