Hi,

Im not sure exactly what you mean...

If you want to access some xml held in an xslt variable, then you will
need to investigate the xalan:node-set() extenstion function.

If you want to use a variable as part of an xpath expression, then you
will need to investigate the xalan:evaluate() extension function.

cheers
andrew


-----Original Message-----
From: Lu, Tao [mailto:[EMAIL PROTECTED]
Sent: 22 July 2002 18:56
To: [EMAIL PROTECTED]
Subject: can I define a variable and reference it in XPATH expression


Hi, everyone, 

I am using xalan's XPATH api, can I define a variable and reference it
in XPATH expression?

According to the XPath Spec., it seems the Spec supports variable
definition. But I could not find any examples. 

Also I know XLST does support variable definition, and not sure for
XPATH XALAN implementation.

Thanks!
Louis
2002/07/18 


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 01/07/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 01/07/2002
 

Reply via email to