Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Attribute use depending on another attribute value

From: "Jan Vosloo" <jan.vosloo@----.--->
To: <xmlschema-dev@--.--->
Date: 5/17/2007 4:06:00 PM
*******************************************************************
Click here to view our e-mail legal notice: 
http://www.mxit.co.za/pdfs/mxit_legal.pdf or call: +27 21 888 7000
*******************************************************************
Hi, 

I just want to know how I would do the following:

 

<root>

  <test type="1" value="1" display="disp"/>

  <test type="2" value="100" />

</root>

 

I want the 'display' attribute to be available for use depending on what =
the
value for the 'type' attribute is.

 

How can I do this in a XSD (XML schema)??

 

Thanks you in advance  

 

Jan Vosloo | Developer

Tel: +27 21 888 7000 | Fax: +27 21 883 8123 

 

 



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent