[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: processing xml data with default namespace
Achim,
At 03:04 PM 7/12/2006, you wrote: i was expecting to get the same result as in output1. why is pat:bar apparently not the same as the xsl:element instruction above? Actually, in namespace-aware XML, it is. The difference in handling of prefixes between the two methods you've presented is: * "merely" cosmetic * symptomatic of your particular XSLT processor's serializer but not necessarily of others * exploitable when writing "cosmetic cleanup" stylesheets (which in theory are never needed, but in practice are often asked for) Cheers, Wendell
|
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
|