On Jul 31, 2007, at 1:52 PM, Rob Frohwein wrote:

<xsl:copy-of select="document('cocoon://path/proc.xsp/?var={$var}')/*"/>

....

But the variable is *not* expanded.
Proc.xsp sees the value of request-parameter var
is set to litarally {$var}

That's 'cause that's what you literally wrote :-). Xpath string syntax doesn't comprise variably "interpolation" like that. What you want would be this:

<xsl:copy-of select="document(concat ('cocoon://path/proc.xsp/?var=', $var, '/*')" />

HTH,
—ml—


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to