This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: following-sibling
> However, I have found that this is not the case -- XT/SAXON seem to
> to think that the text() following-siblings are not actually siblings.
It's difficult to tell without a clear example of your XSL, but perhaps
you are using '*' to select the children; that would not select text()
nodes. Use select="*|text()" instead.
Alternatively (or also), are there whitespace-only text nodes getting in
there to confuse your count? If so, can you fix things up with
<xsl:strip-space elements="*"/>?
Steve
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list