Use exclude-result-prefixes="saxon" (or whatever prefix you are using) on the xsl:stylesheet element to prevent the saxon namespace being added to the result tree.
Mike Kay
-----Original Message-----
From: []On Behalf Of Gale Lee (EWU)
Sent: 31 August 2001 01:49
Subject: [saxon] adding saxon namespace getting unexpected result

I'm using Saxon6_4_3 on Solaris to process XSLT and using Saxon's extension function saxon:evaluate.  Below is a partial code of my xslt and its result.  Saxon adds its namespace uri inside the root element <DLDefinition> of my output, making it an attribute, which of course not recognizable by the output DTD during xml validation.  Is this normal?  The evaluate function works correctly (I did not show the result below).
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl=""
<xsl:template match="model">
  <xsl:call-template name="createHeaderFile"/>
    <version><xsl:value-of select="$version"/></version>
Here is the output:==============================================
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE DLDefinition
  SYSTEM "dl.dtd">
<DLDefinition xmlns:saxon="">