File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Wierd Error - XSL and templates Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Wierd Error - XSL and templates" Watch "Wierd Error - XSL and templates" New topic
Author

Wierd Error - XSL and templates

Ro Dowd
Greenhorn

Joined: Jul 10, 2006
Posts: 22
Hi, Am working on an XSL front-end app on websphere. I'm getting the below error when I start websphere (it loads all the XSL pages on start-up):
javax.xml.transform.TransformerException: org.apache.xml.utils.WrappedRuntimeException: Could not find variable with the name of firstName in NewUserDetails.xsl

Thing is i didn't change anything related to a variable "firstName" in the XSL file. My file "NewUserDetails.xsl" contains a few templates that are called elsewhere.

Has anyone seen this b4 - any help much appreciated! - Thanks..
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18987
    
    8

I see it all the time when I carelessly put "$firstName" instead of "@firstName", looking for an attribute. Your error may be something similar.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Wierd Error - XSL and templates