Lists Home |
Date Index |
- From: Richard Tobin <firstname.lastname@example.org>
- To: Leigh Dodds <email@example.com>, xml-dev <firstname.lastname@example.org>
- Date: Fri, 14 May 1999 15:05:28 +0100 (BST)
> 1. Contain #PCDATA, *OR*
> 2. an optional tag X followed by zero or more occurences of tag Y
Can't be done. Content models that include #PCDATA and elements are
restricted to the form (#PCDATA|x|y|...)*.
> At the moment I've had to settle on (#PCDATA|X|Y)*
Yes, that's the best you can do.
If you want to do better, you will need to have two different element
types for the two cases.
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)