This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: 2 problems with variables(include & frame)


Heippa

> 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

href attribute in xsl:include is not interpreted as an attribute value template - see http://www.w3.org/TR/xslt#include

> SECOND:
> ....
> <frame .....   src="/dir/myfile.jsp?lang={$lang}&grp={$grp}"/>
> 
> --> 'lang={$lang}'  works , but '&' not allowed (escape character?)

XSLT stylesheet in an XML document - see http://www.w3.org/TR/2000/REC-xml-20001006#syntax

Cheers,

Santtu

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]