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]

RE: Another newbie question


> 
> 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

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