[Home] [By Thread] [By Date] [Recent Entries]


> I think the sequence of xml elements is decided by schema. If schema
> doesn't define the sequence, the sequence of elements is NOT 
> important?
> Is it right?

No, XML Schema only says what orderings are allowed, it doesn't say whether
ordering is significant. 

For example, If a <tbody> can contain many <tr> elements, there's nothing in
Schema to say whether the order of the <tr> elements is significant. 

A <route> element might allow <route><left/><right/><right/><left/></route>
- the elements can appear in any order, but the actual order is significant.

Michael Kay
http://www.saxonica.com/




Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member