Re: [xsl] xml element order

Subject: Re: [xsl] xml element order
From: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Mon, 28 Oct 2002 09:08:23 -0600
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).


W. Eliot Kimber, eliot@xxxxxxxxxx
Consultant, ISOGEN International

1016 La Posada Dr., Suite 240
Austin, TX  78752 Phone: 512.656.4139

XSL-List info and archive:

Current Thread