Subject: Re: [xsl] 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 |
----- Original Message ----
From: "Michael Kay" <mike@xxxxxxxxxxxx> Subject: RE: [xsl] 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).
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: xsl-list Digest 4 Apr 200, john jacks | Thread | RE: [xsl] Recursive positional grou, Michael Kay |
[xsl] Xsl:variable content should b, Alan Hale | Date | Re: [xsl] grouping, xslt 2.0, Abel Braaksma |
Month |