Subject: Re: Re: xsl-list Digest 4 Apr 2007 05:10:00 -0000 Issue 1097
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Wed, 04 Apr 2007 11:34:47 +0200
|
John, you answered to the digest, which means that we loose the thread.
Please answer the original messages to keep the thread intact.
-- Abel
john jacks wrote:
----- Original Message ----
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Subject: RE: grouping, xslt 2.0
Message-ID: <008901c775c9$9231ec10$6401a8c0@turtle>
In an XSLT pattern, current() refers to the node you are trying to match. So
the pattern
group-starting-with="*[name() = translate(name(current()),'1234','2345')]">
is wrong. Try assigning the result of the translate() to a variable first.
Thanks. (The hint in XSLT 2.0, 3Ed, p298 is wrong then).
|