cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conal Tuohy <>
Subject RE: Cleaning up unused namespace declaration
Date Mon, 09 Feb 2004 02:37:56 GMT
I don't know if you can configure the xml serializer to drop a namespace
(seems unlikely, because such namespace might not be used until the end of
the document, for all the serializer knows, so it wouldn't be safe without
buffering the entire output document to check).

But typically you should suppress the namespace in the XSLT which converts
the dir:* content into xhtml, using the exclude-result-prefixes attribute of
the xsl:stylesheet or xsl:transform element. This works for me - I just
checked! :-)


> -----Original Message-----
> From: Stefano Mazzocchi []
> Sent: Monday, 9 February 2004 15:18
> To: Cocoon
> Subject: Cleaning up unused namespace declaration
> I'm not normally bugged by namespace declarations which aren't used,
> but boy, something like this just can't go on without me to do
> something about it:
> <br xmlns:dir=""
> xmlns:include=""/>
> [taken from my blog output]
> do you have any suggestions on how to use the xml serializer
> so that it
> stops doing that?
> --
> Stefano.

View raw message