xsl-list
[Top] [All Lists]

RE: [xsl] Error when params are in Xpath expression

2009-05-12 16:31:58

  Or more precisely, for the OP:

    document('')/key('k', concat($str, '#', $toLang))

  Regards,


Is he using XSLT 2.0? If so, he should be using a global variable instead of
document('').

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>