OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Pattern definition and the XSL DTD

[ Lists Home | Date Index | Thread Index ]
  • From: rbourret@dvs1.informatik.tu-darmstadt.de (Ron Bourret)
  • To: xml-dev@ic.ac.uk
  • Date: Wed, 24 Jun 1998 14:13:38 +0200

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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS