Subject: Re: following-sibling
From: Steve Tinney <stinney@xxxxxxxxxxxxx>
Date: Tue, 14 Mar 2000 19:44:50 -0500
|
> 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
|