Pattern definition and the XSL DTD

Ron Bourret rbourret at dvs1.informatik.tu-darmstadt.de
Wed Jun 24 14:47:57 BST 1998


The XSL DTD states that the content model of a rule element is:

<!ENTITY % pattern "(root | (target-element | element | any)*>
<!ELEMENT rule (%pattern;, %action;)>

Is the asterisk in the entity correct?  What this means is that I can say that 
the ancestor of the target element has specific siblings:

<element type="foo"/>
<element type="bar">
   <target-element type="foobar"/>
</element>

Section 3.2.1 discusses this possibility for the descendants of a target element 
("Multiple element elements can be placed *inside* a target-element element.") 
but not for its ancestors.

-- Ron Bourret

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list