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: XSL namespace


pmahon@eircell.ie wrote:
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0" xmlns="
> http://www.w3.org/TR/REC-html40">
> 
> Is there something that I am missing from the XSL declaration??

You're using the XSLT namespace URI that was effective in the 21 Apr 1999,
09 Jul 1999, 13 Aug 1999 working drafts of XSLT 1.0.

The 08 Oct 1999 proposed recommendation changed the URI to
"http://www.w3.org/1999/XSL/Transform" and added the version attribute to
xsl:stylesheet. This was also adopted by the final recommendation dated
16 Nov 1999.

You want

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
 xmlns="http://www.w3.org/TR/REC-html40">

(although the HTML namespace there is not really needed).

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at         My XML/XSL resources:
webb.net in Denver, Colorado, USA           http://www.skew.org/xml/


 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]