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

RE: Differing behavior of Xalan and Saxon with namespa

Subject: RE: 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
xalan inserts namespace declaration
[ 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

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.