I have an XSLT which includes another stylesheet,
e.g. main.xsl has this line:



? <xsl:include href="math.xsl"/>



and the XSLT mediator refers to the main stylesheet in the local registry:



? <localEntry key="XSL_main" src="file:///C:/foo/bar/xsl/main.xsl"/>
? ...
? <xslt key="XSL_main"/> 


(yes, it's a pity the xslt mediator does not support a src attribute directly),
When the transform runs I get these errors:


? SystemId Unknown; Line #6; Column #34; Had IO Exception with stylesheet file: 
math.xsl


The included file math.xsl is in the same directory as main.xsl, and 
xsl:include with a relative URL should be resolved relative to the including 
document base URI, but obviously the XSLT processor cannot find it.


I don't want to convert all the includes to absolute URLs.
So what to do ? 


Does?Synapse set the main XSLT file URI as the System ID on the?JAXP XSLT 
processor source ?

Mik

________________________________________________________________________
AOL Email goes Mobile! You can now read your AOL Emails whilst on the move. 
Sign up for a free AOL Email account with unlimited storage today.

Reply via email to