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

Re: XML Schemas patterns

From: Florent Georges <darkman_spam@yahoo.fr>
Date: Sat, 19 May 2007 13:30:47 +0200 (CEST)
To: Michael Kay <mike@saxonica.com>
Cc: xmlschema-dev@w3.org
Message-ID: <320694.4445.qm@web23001.mail.ird.yahoo.com>

Michael Kay wrote:

  Hi

> Your mention of simplifying XSLT coding suggests a wacky idea:
> it would be nice if one could express the validation in terms
> of rules, for example:

> <xs:validation match="xsl:param">
>   <xs:complexType>
>     ...
>   </xs:complexType>
> </xs:validation>

> <xs:validation match="xsl:template/xsl:param">
>   <xs:next-rule/>
>   <xs:assert test="not(@required)"/>
> </xs:validation>

  Welcome to Schematron ;-)

  Regards,

--drkm






















      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
Received on Sunday, 20 May 2007 01:56:10 GMT

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