|
[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
[ 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








