[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: 2 problems with variables(include & frame)

Subject: RE: 2 problems with variables(include & frame)
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Tue, 30 Apr 2002 12:24:10 +0100
jsp param date escape xml
> ...
> <xsl:param name="lang"/>
> <xsl:include href="/dir/myfile{@lang}.xsl"/>   <!-- myfileen.xsl ,
> myfilefr.xsl , myfileit.xsl , etc -->
The href attribute of <xsl:include> is a URI. It doesn't allow XPath
expressions or attribute value templates.
> ....
> <frame .....   src="/dir/myfile.jsp?lang={$lang}&grp={$grp}"/>
> --> 'lang={$lang}'  works , but '&' not allowed (escape character?)

"&" in XML documents must always be escaped as "& amp;" (without a space).

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx

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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.