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

Dependencies between attributes and elements

From: João Cruz Morais <napalm@spiderfish.net>
Date: Mon, 6 Aug 2007 13:40:24 +0100
Message-ID: <a9b8f86e0708060540h391a0726ud59f0bffb792b3b5@mail.gmail.com>
To: xmlschema-dev@w3.org
Dependencies between attributes and elements

Hello everyone,

Given this simple xml:

<vector size="2">
  <value>1</value>
  <value>3</value>
</vector>

Is there a way to validate the number of <value> elements according to
the vector size attribute?
I'm tempted to say no, so should I make this kind of validation inside
my program?

Thanks,
João
Received on Monday, 6 August 2007 16:02:37 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.