RE: [xsl] Differing behavior of Xalan and Saxon with namespaces. Who's right?

Subject: RE: [xsl] Differing behavior of Xalan and Saxon with namespaces. Who's right?
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Thu, 13 Mar 2003 18:24:55 -0500
[ Roger L. Costello]

> Note the namespace declaration at the top of the stylesheet:
> 
>     xmlns:fit="http://www.keeping-fit.org";
> 
> Here's what I want the output to look like (and this is what Xalan
> gives, but not Saxon):
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <FitnessCenter xmlns:fit="http://www.keeping-fit.org";>
>         <Member level="platinum">
>                 <Name>Jeff</Name>
>                 <Phone type="home">555-1234</Phone>
>                 <Phone type="work">555-4321</Phone>
>                 <FavoriteColor>lightgrey</FavoriteColor>
>         </Member>
>         ...
> </FitnessCenter>

Are you planning to have any elements or attributes in the "fit"
namespace?  Or otherwise, why do you want the declaration?

BTW, just as for Niko, my copy of instant saxon 6.5.2 __does__ insert
the namespace into the FitnessCenter element.

Cheers,

Tom P

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread