xsl-list
[Top] [All Lists]

[xsl] preceding-sibling axis scope

2009-04-16 08:00:32
Hi,

I'm confused by what my XSL is producing, when I'm using the
preceding-sibling axis, within a xsl:for-each-group element.

When I have a reference like this...

current-group()[preceding-sibling::elemA]

does the preceding-sibling refer to the current-group() content, or the
source document?

I had expected it to scope to the current-group() but the effect appears
to suggest that the scope is the source document.

Apologies if this is a stupidly obvious question.

Yours,

Clint.


--~------------------------------------------------------------------
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>