[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSL namespace

Subject: Re: XSL namespace
From: Jeni Tennison <jeni.tennison@xxxxxxxxxxxxxxxx>
Date: Fri, 11 Aug 2000 16:58:26 +0100
xsl namespace not declared
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
  • XSL namespace
    • pmahon - Fri, 11 Aug 2000 16:12:45 +0100
      • Jeni Tennison - Fri, 11 Aug 2000 16:58:26 +0100 <=
      • Mike Brown - Fri, 11 Aug 2000 10:57:18 -0600 (MDT)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.