This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Position() of parent node
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Position() of parent node
- From: Robert Koberg <rob at koberg dot com>
- Date: Tue, 06 Feb 2001 10:20:19 -0800
- References: <83329AAEE258D411849400C00D0039D80AC946@ils>
- Reply-To: xsl-list at lists dot mulberrytech dot com
When you match the parent set up a param that holds it's position. Then
send that to the child's match where you accept the param.
----- Original Message -----
From: "Simon Cansick" <SC@access-accounts.com>
To: <xsl-list@lists.mulberrytech.com>
Sent: Tuesday, February 06, 2001 10:09 AM
Subject: [xsl] Position() of parent node
> Can anyone provide me with the syntax for getting the position() value of
> the current nodes' parent node (and the parent parent etc. position()
> value). I seem only able to return the current position().
>
> I need to use the value in my generated HTML, not for template selection.
>
>
> Thanks for any help.
>
> Simon Cansick
> sc@access-accounts.com
>
> Access Accounting Ltd
> ---------------------------------------------------------------
> The Old School, Stratford St Mary,
> Colchester, Essex. CO7 6LZ, United Kingdom.
> Phone +44 (0) 1206 322575
> Fax +44 (0) 1206 322956
> Internet http://www.access-accounts.com
> http://www.accessweb.co.uk
> ---------------------------------------------------------------
> Access Accounts - The Brand Leader in e-commerce financials
>
> This message is confidential; its contents do not constitute a commitment
by
> Access Accounting Ltd except where provided for in a written agreement
> between you and Access Accounting Ltd. Any opinions expressed within this
> email are those of the author and are not necessarily endorsed by Access
> Accounting Ltd.
>
> Any unauthorised disclosure, use or dissemination, either whole or
partial,
> is prohibited.
> If you are not the intended recipient of the message, please notify the
> sender immediately.
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list