[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Use xsd to specify multiple instances of existing element
- From: "Andrew Welch" <andrew.j.welch@gmail.com>
- To: "Rick Jelliffe" <rjelliffe@allette.com.au>
- 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]