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

Subject: RE: [xsl] Error when params are in Xpath expression
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 12 May 2009 17:44:17 -0400
At 04:31 PM 5/12/2009, Mike wrote:
>   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('').

No, he's not, which is part of how we got to where we are. (It has to work in current browsers.)


Cheers,
Wendell



======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================

Current Thread