RE: Another newbie question

Subject: RE: Another newbie question
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 14 Mar 2000 09:45:14 -0000
> 
> The XSL is as follows:
> <xsl:stylesheet version="1.0" 
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
> <xsl:template match="document">
> <xsl:apply-templates/>
> </xsl:template>
> <body bgcolor="Black" text="White" link="#CCCCCC" vlink="Red" 
> alink="Blue"/>
> <xsl:template match="title">
> ...

The XSLT processor should reject this stylesheet because of the top-level
<body> element. I don't know why you put it there, but it's illegal to have
a top-level element in the default namespace. You don't say what processor
you are using.

Mike Kay


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


Current Thread