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

Using options in XSLT match patterns

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

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

  <p:option name="prefix" value="foo_">
  <p:option name="match" value="*[not(starts-with(@id, $prefix))]">

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. 


Vojtech Toman
Principal Software Engineer
EMC Corporation

Aert van Nesstraat 45
3012 CA Rotterdam
The Netherlands

Received on Wednesday, 30 January 2008 10:28:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:25 UTC