
Christian Zagrodnick wrote:
http://cocoon.apache.org/2.0/faq/faq-xslt.html#faq-5 the XSLT bit is fine. I don't quite understand why this works, but then I'm not that much into XSLT.
XSLT is (mostly) about copying XML trees selectively. Things you do not copy will not appear in the result. In this case, you only copy plain (i.e. local) element names, not their namespaces (which may or may not be what you want).
Actually, seen that: http://www.patentstorm.us/patents/7120864.html :/
Hehe, read the title: "Eliminating superfluous namespace declarations and undeclaring default namespaces *in XML serialization processing*". This is about serialisation only. The (intermediate) result of an XSLT is a tree, not a byte stream, so the namespace fixing is not part of the serialisation process. :] (Not that I would agree that this is worth a patent...) Stefan