[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How can i include condition in XML SCHEMA

From: Andrea Merli <merli.a84@gmail.com>
Date: Thu, 25 Sep 2008 12:41:23 +0200
Message-ID: <ab4dbbf70809250341p52cffbb5h9eafa0522b360ed5@mail.gmail.com>
To: xmlschema-dev@w3.org
How can i include condition in XML SCHEMA
Hi People,
I would do this operation:

- I'have an XML Schema and i would insert a condition
                   ....
                  <xs:element name="WEB_PERMISSION" type="xs:string"
ls:isVisible="true" ls:isDisabled="false" ls:caption="TEXT"/>
                 <xs:element name="PERMISSION1" type="MenuTypeInser"
ls:isVisible="true" ls:isDisabled="false" ls:caption="TEXT"/>
                 <xs:element name="PERMISSION2" default="TEXT1"
ls:isVisible="true" ls:isDisabled="false" ls:caption="TEXTa"/>
                   ...

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

Is it possible? How can i do?

Thanks

Dott. Andrea Merli
Received on Friday, 26 September 2008 09:00:47 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.