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

XSD Prob

From: <davuluri.hyma@wipro.com>
Date: Fri, 19 Dec 2003 14:51:13 +0530
Message-ID: <C43C2A7A08C4B34FA88397A11E7E5A80066287@hyd-mdp-msg02.wipro.com>
To: <xmlschema-dev@w3.org>
hyd mdp msg02.wipro.com

Hi all,
Is there a way to write a xsd which validates a xml which is having
something like this.
 
<a b="c">
<c1>test c1</c1>
<c2>test c2</c2>
</a>
 
that means depending on the value of the attribute 'b' the corresponding
elements differ.i.e if value is 'c' then some elements are displayed if
its 'd' then some elements.can we write XSD to support this kind of
requirement.Kindly help me.
thanks and regards
aaaaa

Confidentiality Notice 

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.
Received on Friday, 19 December 2003 04:26:48 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.