by Eric van der Vlist is published by O'Reilly & Associates (ISBN: 0596004214)
nsName — Name class for any name in a namespace
element nsName { ( attribute ns { text }?, attribute datatypeLibrary { xsd:anyURI }?, attribute * - (rng:* | local:*) { text }* ), ( ( element * - rng:* { ... }* ) & element except { ... }? ) } |
Within the scope of an element, the name classes of attributes can't overlap. The same restriction applies to name classes of elements when these elements are combined by interleave. It is impossible to use nsName to produce empty name classes by including nsName in an except name class included in another nsName.
<element> <choice> <nsName ns="http://eric.van-der-vlist.com/ns/library"/> <nsName ns="http://eric.van-der-vlist.com/ns/person"/> </choice> <ref name="anything"/> </element> <element> <nsName ns="http://eric.van-der-vlist.com/ns/person"/> <except> <name>name</name> <except> </nsName> <ref name="anything"/> </element> |
This text is released under the Free Software Foundation GFDL.