Subject: RE: [xsl] Concatenating multiple variables in a XPath statement From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Tue, 20 Jun 2006 09:30:38 +0100 |
> Thank you Micheal. > There are xpath and element names in the variables. var1 > contains an xpath like /form/body/rows/row[$i] and var2 has > an element name which is found dynamically in a loop. > I think this is the case that XPath does not support. Am I right? Correct. XSLT does not allow you to construct XPath expressions dynamically as strings. Several products including Saxon have extension functions that allow this, for example saxon:evaluate(). Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Concatenating multiple va, Mohsen Saboorian | Thread | [xsl] RE : RE: [xsl] Concatenating , Florent Georges |
RE: [xsl] Value Mapping, oknam park | Date | RE: [xsl] <saxon-error-element/>, Michael Kay |
Month |