Re: [xsl] processing xml data with default namespace

Subject: Re: [xsl] processing xml data with default namespace
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 13 Jul 2006 15:37:43 -0400
Achim,

At 09:16 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.
[...]
i almost figured that... but can i have both somehow? a stylesheet that is easier to read and less bloated output? one 'pat:' prefix with a namespace declaration is not much, but when processing several thousand documents, it is quite a lot...

That's one of the reasons why I suggested the usefulness of this feature (or rather, side-effect) for writing a syntax-cleanup stylesheet. (There are a number of ways to run two stylesheets in sequence without writing the intermediate results to disk.)


Cheers,
Wendell

Current Thread