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

RE: doctype

Subject: RE: doctype
From: "John Power" <john.power@xxxxxxxxxxxx>
Date: Mon, 27 Nov 2000 13:04:01 -0000
john power
Gerhard,
	Thanks but I'm a bit confused. What version of Xalan are you using? I am
using Xalan 1.2 and when I define the two variables just inside the
stylesheet, I get the following error:

"Transforming...
XSL Error: pattern = 'document(concat($DocType,'else.xml'))'
VariableReference given for variable out of context or without definition!
Name = DocType, source tree node: #document."

This, as far as I can understand it, happens because I call 'DocType' in
'RecordLayout'. If I define 'RecordLayout' in the template, no such error
occurs.

I have also found that, if I define a variable or parameter IN a template in
terms of another on the same level as it - as you want them to be here,
except outside any template - then Xalan has no problem.


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


Current Thread
  • Re: doctype, (continued)
    • Oliver Becker - Fri, 24 Nov 2000 19:53:11 +0100 (MET)
    • STENZEL - Mon, 27 Nov 2000 10:45:40 +0100
    • STENZEL - Mon, 27 Nov 2000 11:00:10 +0100
      • John Power - Mon, 27 Nov 2000 13:04:01 -0000 <=
    • STENZEL - Mon, 27 Nov 2000 17:15:05 +0100

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.