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

XALAN error: VariableReference out of context or without def

Subject: XALAN error: VariableReference out of context or without definition
From: Heather Lindsay <heather.lindsay@xxxxxxxxxxxxx>
Date: Mon, 23 Oct 2000 11:20:58 -0400
out of context def
> hi,
   Can someone help me with a xalan problem?
>    I have just started using the new version of xalan and have received
> the following 
> error which was not an error in the old version I was using.
> 
> XSL Error: pattern = 'substring($SERVLET_PATH,2)'
> VariableReference given for variable out of context or without definition!
> Name = 
> SERVLET_PATH, source tree node:
> #document
> Xalan: was not successful
> 
> In my XSL file, I have included another XSL file which contains parameter 
> definitions.  The include XSL file is below:
> 
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> 
>  <xsl:param name = "CP" select = "'undefined'"></xsl:param>
>  <xsl:param name = "REVX_NAVIGATION_ROOT" select = "'actionItem'"/>
>  <xsl:param name = "SERVLET_PATH" select = "'null'"/>
>  <xsl:param name = "CONTEXT_PATH" select = "'null'"/>
>  <xsl:param name="USER_NAME" select="'undefined'"/>
>  <xsl:variable name="FULL_SERVLET_PATH" 
> select="concat($CONTEXT_PATH,$SERVLET_PATH)"/>
>  <xsl:variable name = "SERVLET_NAME" select = 
> "substring($SERVLET_PATH,2)"/>
> </xsl:stylesheet>
> 
> I am testing the XSL by comand line but these parameters will be set on
> the servlet.
> 
> Any help would be greatly appreciated,
> Heather


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.