[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

importing text-source in a xsl-stylesheet


Subject: importing text-source in a xsl-stylesheet
From: hauzeneder <T.Hauzeneder@xxxxxxxxxxxxxx>
Date: Fri, 27 Aug 1999 12:10:16 +0200

Hi,

I have tho following problem:

I'm using several xsl-stylesheets for generating html-output. Every html-page corresponds to one
xsl source file. Now I want to include a certain header (lika a javascript-block) in each of them (lets call it header.xsl).
There are no xsl-Tags in that haeder-file.
I tried it with the <xsl:import> and the <xsl:include> tags but none of them seem to work my way.
What am I doing wrong ?

the code snipplet would look like this:

file: header.xls:
<JAVASCRIPT> ....something... <JAVASCRIPT>


file: htmlpage.xls
<xsl:stylesheet
   xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
   xmlns="http://www.w3.org/TR/REC-html40"
   result-ns=""
>

<xsl:include hfref="haeder.xsl"/>

...something...

</xsl:stylesheet>

regards 
toby


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



Current Thread
Keywords
xsl