Laura Jenkins wrote:
Hello people,
I have an xml whose DTD is as follows..
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT University (name?, area?)>
[...]
file is not valid.. Is there any way of making the order of the elements
FLEXIBLE..
<!ELEMENT University
((name, area?) |
(area, name?))?
>
Note that the first token in each subgroup has to be required in order
to avoid an "ambiguous content model" but it is OK for the whole thing
to be optional, as it is in the original (all tokens optional is the
equivalent of having the entire model group be optional).
Cheers,
Eliot
--
W. Eliot Kimber, eliot(_at_)isogen(_dot_)com
Consultant, ISOGEN International
1016 La Posada Dr., Suite 240
Austin, TX 78752 Phone: 512.656.4139
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list