W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2009

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>
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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:12 GMT