RE: [xsl] xml (source) file name in html (output format) meta tag

Subject: RE: [xsl] xml (source) file name in html (output format) meta tag
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 24 Jun 2003 15:27:08 +0300
FAQ,

> Due to the specific requirements of PegHelp, I need to output 
> the following
> section in the beginning of the file:
> <HTML>
> <HEAD>
> <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
> <META http-equiv="Content-Type" content="{filename}.html">

Rewrite this to 

  <META http-equiv="Content-Type" content="{$filename}.html">

, add 

  <xsl:param name="filename" select="''"/>

as a top-level instruction into your stylesheet, and set the filename parameter using the API of your XSLT processor.

Cheers,

Jarno - Wumpscut: Totmacher (Haujobb Mix)

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


Current Thread