[xsl] 2 problems with variables(include & frame)

Subject: [xsl] 2 problems with variables(include & frame)
From: longjohn <longjohn@xxxxxxxxxxxx>
Date: Tue, 30 Apr 2002 11:48:28 +0200
(I'm using XALAN-XERCES)
FIRST:
...
<xsl:param name="lang"/>
<xsl:include href="/dir/myfile{@lang}.xsl"/> <!-- myfileen.xsl , myfilefr.xsl , myfileit.xsl , etc -->


--> {@lang} (and {$lang} too) doesn't work , '{' not allowed
if I try <xsl:if test=....> , it appears not allowed in this position of the style-sheet



SECOND: .... <frame ..... src="/dir/myfile.jsp?lang={$lang}&grp={$grp}"/>

--> 'lang={$lang}' works , but '&' not allowed (escape character?)

Thanks for all suggestions!



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread