W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2008

Re: How can i include condition in XML SCHEMA

From: Florent Georges <lists@fgeorges.org>
Date: Fri, 26 Sep 2008 11:46:16 +0200 (CEST)
To: Andrea Merli <merli.a84@gmail.com>, xmlschema-dev@w3.org
Message-ID: <569691.39495.qm@web23002.mail.ird.yahoo.com>

Andrea Merli wrote:

  Hi

> if field WEB_PERMISSION contain the value 1 ----> PERMISSION1;
> if field WEB_PERMISSION contain the value 0 ----> PERMISSION2;

  This is not possible in XSDL 1.0, it will be in XSDL 1.1.  Schematron
has been designed for that kind of job.  Look for co-occurrence
constraints.

  Regards,

--drkm


























      
Received on Friday, 26 September 2008 09:46:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:07 GMT