View Single Post
 
Old September 2nd, 2006, 12:08 PM
mhkay's Avatar
mhkay mhkay is offline
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

I haven't tried to follow the logic in detail. But there's some obvious nonsense here:

<xsl:variable name="logo" select="'fcs:logo/@source'+'/'+'$logoimage'"/>


Firstly, "+" does not do string concatenation in XPath. You want the concat() function. Secondly, there doesn't seem to be any reason to put the first expression in quotes.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference