|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: following-sibling
On Tue, 14 Mar 2000, Steve Tinney wrote:
> > 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.
To select these specific nodes I am using
<xsl:template zmatch="body/text()">
> 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="*"/>?
That is actually one of the very first things in my stylesheet.
Despite Dave's diagram of the children and siblings, I am still in the
dark here!
-carole
- - - - - - - - - - - - - - - - - - - - - - - - -
Carole E. Mah Carole_Mah@xxxxxxxxx
Senior Programmer/Analyst
Brown University Scholarly Technology Group
phn 401-863-2669
fax 401-863-9313
http://www.stg.brown.edu/
personal: http://www.stg.brown.edu/~carolem/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








