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:28:38 UTC