This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: call-template and javascript
- To: xsl-list at mulberrytech dot com
- Subject: RE: call-template and javascript
- From: "Weakliem, Gordon" <Gordon dot Weakliem at Den dot Galileo dot com>
- Date: Mon, 20 Nov 2000 13:32:29 -0700
- Reply-To: xsl-list at mulberrytech dot com
<xsl:template name="head:>
<script language="javascript">
<xsl:comment>
...
//</xsl:comment>
</script>
> -----Original Message-----
> From: Jakub Malý [mailto:Jakub.Maly@unicorn.cz]
> Sent: Monday, November 20, 2000 11:28 AM
> To: xsl-list@mulberrytech.com
> Subject: xsl:call-template and javascript
>
>
> 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
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list