On Thursday, 16. January 2003 17:39, S Woodside wrote:
> Yeah this is my problem right now. I can get the XPath (not XML)
> statement back into the XSLT using the param method. But when I try to
> use that param in a select statement, the parser complains that it
> needs a node set not a string
>
> it looks like this
>
> <xsl:apply-templates select="$the param"/>
>
> and it borks there.
>
> I can't find any functions that turn an XPath string (from a var) into
> a node-set. GRR.

Well, the reason is simple: XSLT was explicitly designtd to not support this.
But there is hope: look at www.exslt.org, there are numerous extension 
functions documented. While not all of them are available with libxslt, there 
is one which allows you to do what you want.

-- 
CU
  Joerg

PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc
PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E  7779 CDDC 41A4 4C48 6F94


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

Reply via email to