RELAX NG by Eric van der Vlist will be published by O'Reilly & Associates (ISBN: 0596004214)

You are welcome to use our annotation system to give your feedback.


Name

except (in the context of a except-name-class) — Remove a name class from another

Class:

except-name-class

Synopsis

element except
{
   (
      ( element * - rng:* { ... }* )
    & (
         element name { ... }
       | element anyName { ... }
       | element nsName { ... }
       | element choice { ... }
      )+
   )
}

May be included in:

anyName, nsName.

Compact syntax equivalent:

-nameClass

Description:

The except name class is used to remove a name class from another. Note that this name class has no attributes.

Restrictions:

It is impossible to use except to produce empty name classes by including anyName in an except name class or nsName in an except name class included in another nsName.

Example:

      <element>
        <anyName>
          <except>
            <nsName ns=""/>
            <nsName ns="http://eric.van-der-vlist.com/ns/library"/>
            <nsName ns="http://eric.van-der-vlist.com/ns/person"/>
          </except>
        </anyName>
        <ref name="anything"/>
      </element>

      <element>
       <nsName ns=ns="http://eric.van-der-vlist.com/ns/person"/>
         <except>
           <name>lib:name</name>
           <name>hr:name</name>
         <except>
       </nsName>
       <ref name="anything"/>
      </element>

      

Attributes:

None.


You are welcome to use our annotation system to give your feedback.
[Annotations for this page]
All text is copyright Eric van der Vlist, Dyomedea. During development, I give permission for non-commercial copying for educational and review purposes. After publication, all text will be released under the Free Software Foundation GFDL.