This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: how to access the element which is in the top in XSL.
- To: <xsl-list at mulberrytech dot com>
- Subject: Re: how to access the element which is in the top in XSL.
- From: "Rebecca Lundberg" <rlundberg at esrv dot com>
- Date: Thu, 21 Sep 2000 15:25:15 -0400
- References: <FA209FE12D83D411BC970010A8001331508033@wwmess3.bra01.icl.co.uk>
- Reply-To: xsl-list at mulberrytech dot com
> i have navigated upto <seven1>. If at this point i
> > want to refer to the element "three".
>
> select="ancestor::two/child::three"
What if we changed the format to
<one>
<two>
<three>something</three>
<statistic one>aaaa</statistic one>
<four>
<statistic one>xxx</statistic one>
<five>
<six>
<seven>
<seven1>
Do I have to do an apply-template on "ancestor::two/child::three" in order
to get to associated <statistic one> value or is their some clever way I can
do the entire selection in one line?
Rebecca
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list