W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > January 2008

RE: Using options in XSLT match patterns

From: <Toman_Vojtech@emc.com>
Date: Wed, 30 Jan 2008 05:52:36 -0500
Message-ID: <6E216CCE0679B5489A61125D0EFEC78709971BBD@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>

Actually, I am not sure if such match patterns are allowed in XSLT...

Vojtech

> -----Original Message-----
> From: public-xml-processing-model-comments-request@w3.org 
> [mailto:public-xml-processing-model-comments-request@w3.org] 
> On Behalf Of Toman_Vojtech@emc.com
> Sent: Wednesday, January 30, 2008 11:26 AM
> To: public-xml-processing-model-comments@w3.org
> Subject: Using options in XSLT match patterns
> 
> 
> Hi all,
> 
> I wonder if options can be referred to in XSLT match patterns 
> that are used on some types of steps (such as p:delete or 
> p:label-elements). The specification is not clear on this, so 
> I wonder if the following is
> legal:
> 
> <p:label-elements>
>   <p:option name="prefix" value="foo_">
>   <p:option name="match" value="*[not(starts-with(@id, 
> $prefix))]"> </p:label-elements>
> 
> I think this would be a useful feature. I can imagine you may 
> want to be able to select nodes based on some dynamic value. 
> 
> Regards,
> Vojtech
> 
> --
> Vojtech Toman
> Principal Software Engineer
> EMC Corporation
> 
> Aert van Nesstraat 45
> 3012 CA Rotterdam
> The Netherlands
> 
> Toman_Vojtech@emc.com
> 
> 
> 
Received on Wednesday, 30 January 2008 10:48:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2008 10:48:46 GMT