xsl:call-template and javascript

Subject: xsl:call-template and javascript
From: Jakub Malý <Jakub.Maly@xxxxxxxxxx>
Date: Mon, 20 Nov 2000 19:28:16 +0100
Hello,

I have XSL file, where I have named template with javascript, something as follows:

...
<xsl:template name="head:>
<script language="javascript">
<!--
...
//!-->
</script>
...

Now, I want to use it in another XSL. So I thing, that I must do this
...
<xsl:call-template name="head"/>
...
But the result after translate is:
...
<script language="javascript></script>
...

Please, help.

Regards Jakub.


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


Current Thread