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 UTC