- From: Eddie Robertsson <eddie@allette.com.au>
- Date: Fri, 09 Nov 2001 18:01:50 +1100
- To: Joan Pujol <joan.pujol@ima.udg.es>
- CC: Ian Stuart <Ian.Stuart@ed.ac.uk>, xmlschema-dev@w3.org
> > If you declare two variables - "Foo" and "Bar", then there is no reason > > that you can declare "Foo" as a simpleType, which is an [integer], but > > with a maxExclusive value of the value of "Bar" > How can I reference the value of another attribute in a maxExclusive > restriction? > Can I do it with a W3C schema, or I need a Schematron schema as Jeni Says? Unfortunately you can't reference the value of another attribute in XML Schema. > And another question, I haven't heard anithing of Schematron, It's a comercial > tool? > It's an extension to W3C Schemas?, or is a completly different schema language? Schematron is a different XML Schema language developped by Rick Jelliffe which has it's strengths in co-occurence constraints. The good thing is that it is quite easy to extend your W3C XML Schemas with embedded Schematron rules. See my previous post at [1]. Cheers, /Eddie [1] http://lists.w3.org/Archives/Public/xmlschema-dev/2001Nov/0049.html > > > Cheers, > > -- > --- > Joan Jesús Pujol Espinar > PTS Sistemes Departament IMA
Received on Friday, 9 November 2001 01:58:27 UTC