[xsl] how to close html tags : link, meta,...

Subject: [xsl] how to close html tags : link, meta,...
From: "Myriam Delperier" <myriam.delperier@xxxxxxxxx>
Date: Wed, 13 Aug 2003 09:28:31 +0200
hi,
i'm using xslt to transform an xml file into a html file
my problem is that i really need to have the empty tags( meta, link,
img,...) closed and I don't know how to do this...
here is a part of my xslt code :
<xsl:text disable-output-escaping="yes">&lt;?xml
version="1.0"?&gt;&#10;</xsl:text>

<xsl:text disable-output-escaping="yes">&lt;?xml-stylesheet type="text/xsl"
href="http://www.w3.org/Math/XSL/mathml.xsl"?&gt;&#10;</xsl:text> <html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

<link rel="stylesheet" type="text/css" href="{$cssFile}"/>

<link rel="stylesheet" type="text/css" href="css/structure.css"/>

<link rel="stylesheet" type="text/css" href="css/{$inst}.css"/>

<link rel="stylesheet" type="text/css" href="../{$code}.css"/>

<title>CyberDocs</title>

</head>

<body>



which produces non-closed tags

thanks for your help


































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


Current Thread