[xsl] Urgent-how to select node descent of a node

Subject: [xsl] Urgent-how to select node descent of a node
From: Cao Tuan Dung <Tuan-Dung.Cao@xxxxxxxxxxxxxxx>
Date: Wed, 19 Jun 2002 11:23:17 +0200
I have 3 variable:

$beginpath= "/html/body/blockquote"
$tag="div"
$endpath= "/table/tr/td/font"


I try to get some value of nodes at:
/html/body/blockquote/div[1]/table/tr/td/font and
/html/body/blockquote/div[2]/table/tr/td/font
/html/body/blockquote/div[3]/table/tr/td/font

$beginpath/*[name()=$tag][position()=$index]//$endpath

but evidenly it doesnt run.

I don't know how to do. Please help me.Thanks in advance

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


Current Thread