xsl-list
[Top] [All Lists]

Re: [xsl] Re: xsl-list Digest 4 Apr 2007 05:10:00 -0000 Issue 1097

2007-04-04 02:37:14
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(_at_)saxonica(_dot_)com>
Subject: RE: [xsl] grouping, xslt 2.0
Message-ID: <008901c775c9$9231ec10$6401a8c0(_at_)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).



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>