This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> From: Phillip Rhodes [mailto:spamsucks@rhoderunner.com]
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]