Subject: Re: [xsl] Position() of parent node From: Robert Koberg <rob@xxxxxxxxxx> Date: Tue, 06 Feb 2001 10:20:19 -0800 |
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@xxxxxxxxxxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx > > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Position() of parent node, Simon Cansick | Thread | Re: [xsl] Position() of parent node, David Carlisle |
RE: [xsl] Disable-output-escaping w, Michael Kay | Date | RE: [xsl] Convert String to (node-s, mxmodi |
Month |