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]

XSL namespace


Hi All,

I am trying to use XSLT to render an XML file as HTML, probably foolishly
given my level of knowledge of XSL, and consequently I am having some
trouble.

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

Thanks in advance,

Paul Mahon
Internet Development
phone: 2038636
mobile: 087 2602491
web: http://www.e-merge.ie



**************************************************************** 
The information transmitted in this email is intended for the 
addressee only and may contain confidential and/or privileged 
material. Any review, retransmission,dissemination,reliance
upon or other use of, this information by persons or entities 
other than the addressee is prohibited.If you received this 
in error, please contact the sender and delete the material.
     
This message has been swept by Anti-Virus software 
****************************************************************


 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]