Namespace attribute passed to root element

Subject: Namespace attribute passed to root element
From: "Gene Oswald" <goswald@xxxxxxxxxxxxx>
Date: Thu, 11 May 2000 08:15:37 -0400
Having a problem!

Here's my stylesheet:

<?xml version="1.0"?>
<xsl:transform xmlns:xsl="";
<xsl:template match="whatever">

The XML result document looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<foo xmlns:go="http:/go">

Why is this namespace attribute automatically passed to the root element of
my result document? How can I stop this from happening? The input document
requires this namespace, but the prefix is not used in the output document,
and the foo element does not have a xmlns:go attribute, so the parse fails.

I'm using xalan 1.0.1

Gene Oswald
e-Commerce Developer
Everybook, Inc.
(717) 703-1010 x117

 XSL-List info and archive:

Current Thread