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

questions regarding the use of position()

Subject: questions regarding the use of position()
From: "=?big5?b?qkwgpGyq5A==?=" <minikittygo@xxxxxxxxxxx>
Date: Thu, 31 Jan 2002 19:53:03 +0000
use of position xsl

i got struck with some of my word and if possible i would love some guidelances over it...
suppose i have a structure like this....



there are two questions; firstly, is there a way to refer back to the main position when you are looking at its child element? e.g.

<xsl:template match="body1">
the position of main is <xsl:value-of select="position()"/>
this approach will only give the position of the body1, but is there are ways to display the position of main when you are in the body1 template?

secondly, is there are ways of creating an id for the body1 element? (how about the use of xsl:id? not so sure about this)

thanks ever so much


¨Ï¥Î MSN Messenger¡A»PªB¤Í¦b½u¤W²á¤Ñ¡Ghttp://messenger.microsoft.com/tc¡C

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

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.