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

XML-schema 1.1 - conditional occurrence of child elements

From: <jozef.aerts@xml4pharma.com>
Date: Wed, 9 Mar 2005 11:48:02 +0100
To: <xmlschema-dev@w3.org>
Message-Id: <27999199$1110365087422ed39f15f5a9.73082578@config15.schlund.de>
xml schema conditional elements


Are there any plans to implement conditional occurrence of subelements
in XML-Schema 1.1 ?

What I mean is e.g. that the occurrence (or number of occurences) of a
subelement is dependent on the value of e.g. an attribute.

For example:
<element1 hasSubelement="Yes">
  <subelement></subelement>
</element1>

<element1 hasSubelement="No">
</element1>

If there are plans for this, can you already reveal how this is
envisaged to be implemented in XML-Schema 1.1?

I ask because we are currently further developing an international
XML-based standard in the healthcare sector.
We want to have conditional occurrence of subelements anyway (at the
moment tailored-written software has to check), so we want to have the
XML-Schema for it as close as possible to XML-Schema 1.1

Many thanks in advance

Jozef

Jozef Aerts
XML4Pharma
Received on Wednesday, 9 March 2005 10:50:04 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.