[Home] [By Thread] [By Date] [Recent Entries]
> This works: > > select="document($file)//aTag[.=$searchVal]" > > where aTag is a real tag, and the others params > > and this doesnt > > select="document($file)$tagName[.=$searchVal]" You need select="document($file)//*[name()=$tagName][.=$searchVal]" You can only use variables in places where you can write values, not in places where you write names. Be prepared for this query to take some time! Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



