This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: cannot transform to <html xmlns="http://www.w3.org/1999/xhtml">
- From: "Paul Brown" <prb at fivesight dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Sun, 21 Jul 2002 22:59:41 -0400
- Subject: RE: [xsl] cannot transform to <html xmlns="http://www.w3.org/1999/xhtml">
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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