RE: Using options in XSLT match patterns

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 UTC