I do think you should be careful with this not to remove things like the xhtml namespace of the serializer.
For the rest, it will work Ard > Hi Ard > > I tried the StripNameSpaceTransformer at work today, and it > did the job > nicely - thanks for your help. > > But we have some 25 products using Cocoon, so I was looking > for a way to fix > the problem without modifying each product's sitemap. (I > don't mind doing > this, but it would trigger a regression test cycle for each product) > > The answer I came up with was to create a new HTMLSerializer > descendant that > simply overrides startPrefixMapping() to do nothing. I made > this the default > serializer in our master sitemap, and because all our > products use the > default, all came right. This may not be the purest approach, > but it was an > easy fix. > > Regards > > Ron > > ----- Original Message ----- > From: "Ard Schrijvers" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Tuesday, July 03, 2007 10:03 PM > Subject: RE: Removing xmlns: declarations from HTML > > > > > > > Ard Schrijvers wrote: > > > You just mean namespaces? Take a look at the > > StripNameSpaceTransformer, > > > > Is this transformer somewhere in 2.1.10? > > Hmmm, it is in the 2.1 branche > > http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X/s rc/java/org/apache/cocoon/transformation/StripNameSpacesTransformer.java Regards Ard > I've looked in the > sitemap, in > the source tree, and in the javadocs, but I can't find it. > > > Tobia > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
