RE: [xsl] cannot transform to <html xmlns="http://www.w3.org/1999/xhtml">

Subject: RE: [xsl] cannot transform to <html xmlns="http://www.w3.org/1999/xhtml">
From: "Paul Brown" <prb@xxxxxxxxxxxxx>
Date: Sun, 21 Jul 2002 22:59:41 -0400
> From: Phillip Rhodes [mailto:spamsucks@xxxxxxxxxxxxxxx]
> Subject: [xsl] cannot transform to <html xmlns="http://www.w3.org/1999/xhtml";>
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
> xmlns:html="http://www.w3.org/1999/xhtml";
> version="1.0">
>     <xsl:template match="/">
>        <html>
>        </html>
>     </xsl:template>
> </xsl:stylesheet>

If it's a literal element you want, you have to put the literal element in your stylesheet:

	<xsl:template match="/">
		<html xmlns="http://www.w3.org/1999/xhtml"; />
	</xsl:template>

-- Paul

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


Current Thread