This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Another newbie question
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Another newbie question
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Tue, 14 Mar 2000 09:45:14 -0000
- Reply-To: xsl-list at mulberrytech dot com
>
> 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