[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: following-sibling

Subject: Re: following-sibling
From: "Carole E. Mah" <carole@xxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Mar 2000 09:42:38 -0500 (EST)
z match v3.0 download
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.