Can This Be Done In Xslt?

wxdqz

New Member
I am working on some dynamic xsl/xpath...
I have hit an obstacle....
<xsl:value-of select="$global/$para/field[1]" />


where $global is a variable containing a tree and $para is a string containg something like 'book'.

I get the error "node test expected here"

I have tried using curlies : "$global/{$para}/field[1]" but same error...

Is this kind of processing possible? What am I missing?
 
Back
Top