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

  • From: "Andrew Welch" <andrew.j.welch@g...>
  • To: "Rick Jelliffe" <rjelliffe@a...>
  • Date: Mon, 22 Sep 2008 17:07:46 +0100

> The conditional way does not seem to meet Ian's order constraint. So I think
> the assertions are the
> only mechanism for XSD 1.1 for Ian's particular problem.

unless you can do:

<xs:alternative type="element-that-must-be-first" test="position() eq 1"/>
<xs:alternative type="element-that-must-be-second" test="position() eq 2"/>
<xs:alternative type="rest" test="position() gt 2"/>

I don't know if that's possible....



-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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