Subject: Re: XSL namespace From: Jeni Tennison <jeni.tennison@xxxxxxxxxxxxxxxx> Date: Fri, 11 Aug 2000 16:58:26 +0100 |
Paul, >I am using Instant SAXON and the error that I am getting is as follows: > >At xsl:stylesheet on line 2 of file:/C:/Program Files/saxon/technology.xsl: >Not >a stylesheet (the xsl namespace is not declared on the top-level element) > >My XSL is as follows: > ><?xml version="1.0"?> ><xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0" xmlns=" >http://www.w3.org/TR/REC-html40"> > <xsl:template match="document"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head>xxxxx</head> > >Is there something that I am missing from the XSL declaration?? You are using the wrong namespace for XSLT; SAXON is looking for a stylesheet in the correct namespace - "http://www.w3.org/1999/XSL/Transform" - and when it doesn't find it, it thinks that the file isn't a stylesheet. If you change the xsl namespace, it should work. I hope that helps, Jeni Dr Jeni Tennison Epistemics Ltd, Strelley Hall, Nottingham, NG8 6PE Telephone 0115 9061301 ? Fax 0115 9061304 ? Email jeni.tennison@xxxxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
XSL namespace, pmahon | Thread | Re: XSL namespace, Mike Brown |
RE: How to make the user selecting , Chris Bayes | Date | RE: comment() node test, Evan Lenz |
Month |