xalan following relative urls

Subject: xalan following relative urls
From: Sebastian Rahtz <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 27 Mar 2000 12:55:43 +0100 (BST)
I do 

 xalan passivetex.xml passivetex.xsl 

where passivetex.xsl does

 <xsl:import href="http://www.oucs.ox.ac.uk/stylesheets/teihtml.xsl"/>

and in that teihtml.xsl, I have statements like

 <xsl:import href="teihtml-param.xsl"/>

but Xalan whinges:

========= Parsing file:/home/rahtz/Home/passivetex/passivetex.xsl ==========
file:/home/rahtz/Home/passivetex/teihtml-param.xsl; Line -1; Column -1
XSL Error: Could not parse file:/home/rahtz/Home/passivetex/passivetex.xsl document!, Location http://www.oucs.ox.ac.uk/stylesheets/teihtml.xsl, line 34, offset 40
XSL Error: processStylesheet not succesfull!, Location http://www.oucs.ox.ac.uk/stylesheets/teihtml.xsl, line 34, offset 40
XSLT: File "file:/home/rahtz/Home/passivetex/teihtml-param.xsl" not found.
Xalan: was not successful.
XSLProcessor: done


surely this is wrong? the 

 <xsl:import href="teihtml-param.xsl"/>

should be interpreted relative to the importing stylesheet?

If not, I am going to slide into a deep depression...

Sebastian Rahtz


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


Current Thread