Another (and the fastest) way would be a transformer removing the namespaces, declaration and prefixes.
-- Reinhard > -----Original Message----- > From: Nicolas Toper [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 26, 2003 5:07 PM > To: [EMAIL PROTECTED] > Subject: RE: removing namespaces... > > > continue your search basically you need to make a new > stylesheet to exclude all ns and call it with a transformer > > -----Message d'origine----- > De : Patrick Hess [mailto:[EMAIL PROTECTED] > Envoy� : mercredi 26 novembre 2003 16:59 > � : [EMAIL PROTECTED] > Objet : removing namespaces... > > > > I currently facing the well-known problem of "how to remove > namespace declarations from my HTML files?". After testing a > bit I found that the exclude-prefixes="..." approach works > fine for me - even if the Wiki lists this under "Solutions, > which do NOT work". > (http://wiki.cocoondev.org/Wiki.jsp?page=RemoveNamespaces) > > I wrote it works? - well, the <html>-tag has a namespace declaration: > > <html xmlns:xsp-request="http://apache.org/xsp/request/2.0" > xmlns:xsp="http://apache.org/xsp" > xmlns:wi="http://apache.org/cocoon/woody/instance/1.0" > xmlns:wt="http://apache.org/cocoon/woody/template/1.0" > xmlns="http://www.w3.org/1999/xhtml" lang="de" xml:lang="de"> > > Is there a way to rid of this? The solutions from the wiki > are not really what I would like do... > > Thanks for your help! > > Patrick > > > > > > --------------------------------------------------------------------- > 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]
