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

"VariableReference for variable given out of context "

Subject: "VariableReference for variable given out of context "in compiled LotusXSL stylesheet
From: "Eli Lato" <elato@xxxxxxxxxxxxxxxx>
Date: Mon, 18 Jun 2001 22:57:02 +0200
com.lotus.xsl.xslprocessor
I'm using lotusxsl-j-2_0_0 and JDK 1.2.

When I use transformer.transform(), XSLT resolves my global variables fine.
But when I compile and run a StylesheetRoot, I get a slew of messages like:
VariableReference for variable given out of context or without definition!
Name=step

I eliminated forward references (I defined each variable before using it).
Didn't help.
I defined templates inline to avoid scope quirks.
Didn't help.

All my variables are top-level, plain-vanilla variables that work fine with
transform(), but not with ssr.process(xml, html);


The Java looks like:
import com.lotus.xsl.XSLProcessor;
import com.lotus.xsl.XSLTInputSource;
import com.lotus.xsl.XSLTResultTarget;
import com.lotus.xsl.StylesheetRoot;
...
XSLProcessor p = new XSLProcessor();
StylesheetRoot ssr = p.processStylesheet(xsl);
p.setStylesheet(ssr);
ssr.process(xml, html);



 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.