xsl-list
[Top] [All Lists]

[xsl] text() and following-sibling-axis

2008-08-06 06:52:33
hello all

I have a template that matches a paragraph. I store the contents in a variable with

<xsl:variable name="this" select="."/>

$this now contains something like

this is <b>text</b> and some more text

Next, I process the first text node. Then I try to select everything after that text node with


<xsl:apply-templates select="$this/text()[1]/following-sibling::*" mode="li"/>

But it appears that the select only selects the b-element.

My questions are: - what do I misunderstand and (isn't the following text a sibling then?)
- what can I do to select everything that comes after the first textnode?

thanks in advance, Ruud

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