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

Re: [XML Schema 1.1] I respectfully recommend these changes to <assert> and <alternative>

From: Mukul Gandhi <gandhi.mukul@gmail.com>
Date: Tue, 12 May 2009 18:39:11 +0530
Message-ID: <7870f82e0905120609k702f58b9le21d8c064429b757@mail.gmail.com>
To: "Costello, Roger L." <costello@mitre.org>
Cc: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Re: [XML Schema 1.1] I respectfully recommend these changes to  	<assert> and <alternative>
On Tue, May 12, 2009 at 6:36 PM, Mukul Gandhi <gandhi.mukul@gmail.com> wrote:
>  <xs:attribute name="numbers" type="xs:int" />
>  <xs:assert test="count(./book) gt 5" />

Oh sorry, I wanted to say:
<xs:assert test="count(./book) eq @numbers" />

Sorry for the typo.


-- 
Regards,
Mukul Gandhi
Received on Tuesday, 12 May 2009 13:10:12 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.