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

Re: problems with position() and following-sibling

Subject: Re: problems with position() and following-sibling
From: Georges Schmitz <georges.schmitz@xxxxxxxxx>
Date: Mon, 15 Aug 2005 15:47:29 +0200
Re:  problems with position() and following-sibling
Michael and Nick,

many thanks for these hints. It were actually text nodes, that disorganized my use of position().

Regards,
Georges

Michael Kay wrote:

Yes. Another solution is to use

<xsl:strip-space elements="*"/>

to remove the whitespace text nodes.



Nick Fitzsimons wrote:


It sounds like you've been caught by something that bit me recently.
What's probably happening is that your

<xsl:apply-templates />

is matching all nodes, _including_ whitespace text nodes between the
elements; thus you get:

1. whitespace
2. Cell
3. whitespace
4. Cell

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.