This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
again position()?
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] again position()?
- From: Daniel Bauke <bonkey at sokrates dot mimuw dot edu dot pl>
- Date: Tue, 19 Jun 2001 12:30:23 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
at first: thanks for all earlier answers -- i'll try to use them
later.. i'm doing my xsl pages after hours, so i don't have much
time for it the more it's not so intuitive language :-)
i'd like to ask for a solution for such test:
if ((current("part") == 1) && (current("chapter") == 1))
intro="true";
in xslt.
by current() i mean a function which returns current
position of a tag in xpath tree.
--
Daniel `bonkey' Bauke; http://www.oho.pl/~bonkey/; {happiness=bike&&unix;}
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list