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

Re: XPath question

Subject: Re: XPath question
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 3 Feb 2003 22:43:00 GMT
xpath node count
you may prefer to to just generate your 1.2.3 number directly using
but to answer the question

> I have struggled in vain today to come up with an XPath expression
> which would tell me how many elements are on the preceding-sibling axis
> of the parent of a given node. 


if by given node you mean current node,
if $x is the given node then:


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread
  • XPath question
    • cknell - Mon, 3 Feb 2003 17:20:38 -0500 (EST)
      • David Carlisle - Mon, 3 Feb 2003 17:41:21 -0500 (EST) <=
      • Zack Brown - Mon, 3 Feb 2003 17:47:04 -0500 (EST)
      • Michael Kay - Mon, 3 Feb 2003 18:40:47 -0500 (EST)


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.