[xsl] text() and following-sibling-axis
Subject: [xsl] text() and following-sibling-axis
From: Ruud Grosmann <r.grosmann@xxxxxx>
Date: Wed, 06 Aug 2008 15:54:42 +0200
|
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