Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change 
notification.

The following page has been changed by AlexanderKlimetschek:
http://wiki.apache.org/cocoon/RemoveNamespaces

------------------------------------------------------------------------------
+ == Update: ==
+ 
+ Current Cocoon (2.2 trunk) contains a SAX-based Transformer 
{{{org.apache.cocoon.transformation.StripNameSpacesTransformer}}} that strips 
all namespaces. It's like the NamespaceStripperTransfomer mentioned below, but 
faster because it does not use the DOM.
+ 
+ Configuration:
+ {{{
+ <transformer name="strip-namespaces" 
src="org.apache.cocoon.transformation.StripNameSpacesTransformer"/>
+ }}}
+ 
+ Usage:
+ {{{
+ <transform type="strip-namespaces" />
+ }}}
+ 
+ Note: you can't configure it, it will always strip any namespace declaration 
in the SAX stream.
+ 
  == Problem: ==
  
  '''... I use namespaces and I want to remove the declarations and prefixes in 
my result xml ...'''