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

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>
Re: XML Schemas patterns

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

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.