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

RE: Grouping elements using XSLT

Subject: RE: Grouping elements using XSLT
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 21 Jun 2006 12:14:49 -0400
xml xslt following sibling
At 04:53 PM 6/20/2006, it was written:
SORRY, that was wrong. Following-sibling selects ALL nodes that follow, so
you want select="following-sibling[1]"

This will select the first child element named "following-sibling".

The XPath is an abbreviation for "child::following-sibling[1]". Since no axis specifier is given explicitly, child:: is assumed.

I think you meant "following-sibling::*[1]" or "following-sibling::LastName[1]". (In other words, Mukul's solution is correct.)


Current Thread


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.
First Name
Last Name
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.