cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] RemoveNamespaces Fri Jan 16 09:00:03 2004
Date Fri, 16 Jan 2004 08:00:03 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=RemoveNamespaces , version: 16 on Fri Jan 16
08:06:19 2004 by HenrykPaluch

-   __Ooopss!__ Need to filter xmlns attributes too. The transformer bellow
- seems to be OK for XML serializer but not enough for HTML serializer. Fix pending.
+   __Updated!__ New version - should properly omit {{xmlns:xyz=http://...}} attributes too.
Also clears uri's of appropriate elements.
+ There is new parameter {{omit-plain-xmlns}},  set it to {{true}} to omit main {{xmlns=http://...}}
declaration. It is useful especialy for HTMLSerializer to produce correct HTML without any
namespace declaration.
-   You may also use attached OmitNsTransformer - simple SAX event based transformer. This
transformer omit just the {{xmlns:xyz}} declarations. It can omit all or few of them using
special parameter {{omit-namespaces}}. Example included in javadoc comments. Brief excerpt
from sitemap:
+   You may also use attached OmitNsTransformer.java - simple SAX event based transformer.
This transformer omit just the {{xmlns:xyz}} declarations. It can omit all or few of them
using special parameter {{omit-namespaces}}. Example included in javadoc comments. Brief excerpt
from sitemap:
?                                              +++++




Mime
View raw message