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

Re: no attributes outputed when chaining transformatio

Subject: Re: no attributes outputed when chaining transformations
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Thu, 16 Dec 2004 21:44:06 +0100
Re:  no attributes outputed when chaining transformatio
Ah, I really ought to test things before I shout something...

Could you send us the result after the first step?

I can't really say I know what is wrong here, but I did learn to be cautious with using default namespaces in xsl stylesheets. They both apply to unprefixed names in patterns and selects, and to literal elements in your stylesheet. I'm uncertain whether the default namespace is applied to elements and attributes that are explicitly created without a namespace declaration using xsl:element or xsl:attribute as well..

Things might get mixed that are straightened out by serializing and parsing again. A bit like why you have to serialize when using disable-output-escaping to add XML structure or entities (not a good practice anyhow!)...

Cheers

Yep (again), i'm pretty sure it is a namespace problem. Look up my previous post in this thread to find some solutions..

Cheers

Geert,
Thank you, I will try your suggestions. However what's confusing to me is why the transforamtions will work fine if I invoke them separtely, i.e. without chaning (See my original post). How is the intepretation of the namespaces different when I use chaining?


Neville

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.