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

Problem with transforming using Xalan: "Had IO Excepti

Subject: Problem with transforming using Xalan: "Had IO Exception with stylesheet file"
From: "Chaudhary, Harsh" <HCHAUDHA@xxxxxxxxx>
Date: Fri, 12 Oct 2007 15:35:33 -0500
 Problem with transforming using Xalan: "Had IO Excepti
I realize this is not a Xalan forum but maybe someone here knows
something.

I have a stylesheet: transform.xsl which is importing an exslt template
"math.max.template.xsl" like so:

<xsl:import href="math.max.template.xsl" />

Both transform.xsl and math.max.template.xsl are in the same folder. Now
everything works fine in my XSLT IDE (Oxygen) using Xalan, but when I
hook up my Java code to run this transformation, I get the exception:

Had IO Exception with stylesheet file: Could not find file
math.max.template.xsl

Anyone have any views on that?

Another thing, if I use the full path to the file like so:

<xsl:import
href="C:\harsh\ws\wsad\JavaSource\com\amfam\rate\xml\math.max.template.x
sl" />

everything is fine.

Harsh.

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-2011 All Rights Reserved.