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

include statement

Subject: include statement
From: Kevin.Gutch@xxxxxxxxxxx
Date: Mon, 4 Mar 2002 18:53:31 -0500
include statement
>From within a servlet I have an XSL file that uses an <xsl:include>
statement. This has worked fine and all I have done is indicated the name
of the xsl to be included (no path info needed since they are in the same
directory). However, I have recently altered several ways my program
performs.

-I am using newer Xerces and Xalan .jar files.
-I grab my principal.xsl from as a  .getSystemResourceAsStream because it
is within a jar File.
-I execute my program from a bat file.


Here is the issue. My include statement is now inoperable. The XSL
Processor is looking for the included file in the directory  where the
program was executed from (i.e. bin). I can think of some work arounds but
the problem still exists that this xsl file is in a jar file and I really
have no way of telling the stylesheet this. I could remove the style sheet
from the jar file and then navigate out of the bin directory as such
./../xml/ but this seems counterproductive. Does anyone have any insight to
what is going on?

Thanks,

Kevin


 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.