Subject: [xsl] "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 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Multiple .xsp?, Dylan Walsh | Thread | [xsl] Xalan installation and Apache, Loren Lai |
RE: [xsl] How do i optimize my styl, Kevin Jones | Date | Re: [xsl] XML and XSL, Ling Kok Choon |
Month |