Re: p:namespace-rename question

In that case you can do it by doing this in two steps (I know it's hairy but...)

<p:namespace-rename from="A" to="B"/>
<p:namespace-rename from="B" to="A" elements-only="true"/>

which will have side effects  if there is already elements in namespace B

or we can indeed change the attribute to

"apply-to" that could have "all" (default), "elements-only", "attributes-only"

Xmlizer

On Thu, Nov 6, 2008 at 10:46 AM,  <Toman_Vojtech@emc.com> wrote:
>
> Just wondering: why does p:namespace-rename have the option
> 'elements-only', but nothing that would allow renaming attributes only?
> It could be useful, fo r instance, in cases when you want to keep the
> elements in no namespace and only move the attributes to some namespace.
>
> Has anybody considered this before?
>
> Regards,
> Vojtech
>
>

Received on Thursday, 6 November 2008 11:54:55 UTC