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

Re: processing xml data with default namespace

Subject: Re: processing xml data with default namespace
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 12 Jul 2006 15:49:02 -0400
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

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.