On Mon, 2003-06-02 at 13:14, Torsten Knodt wrote:
> On Monday 02 June 2003 09:49, Alexander Schatten wrote:
> AS> However, revisiting the problem (also watching websites others create
> AS> with Cocoon), I have to realize, that leftover namespaces are very
> AS> usual; e.g. the following: SQL, i18n, XHTML also others, that have
> AS> nothing to do with HTML specification.
> Don't know why I didn't see your first posting. But I had, like many others, 
> the same problem. I've solved by writing a NamespaceStripperTransformer, 
> which creates a DOM and removes unused namespaces. This solves the problem 
> for me. I can put it in the BTS on request. And no, I can't use SAX, because 
> I have to modify elements dependent on their childs. Details are in my 
> source.

Nice, but an overkill for Alexander who simply wants all namespaces to
be removed, which could be done streaming. And preferably immediately in
the serializer, instead of another transformation step. The Xalan people
seem not yet convinced though.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to