cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: Leftover tags from I18n
Date Thu, 08 Aug 2002 14:46:18 GMT
Alex Romayev wrote:
 > exclude-result-prefixes in the same file as declares
 > the prefix worked.

A little explanation:

Namespace prefix and namespace uri are two different things. You can declare 
xmlns:bla="" and the i18n transformer 
should work nevertheless (I didn't tested it ;-) ). Furthermore you can mix 
the prefixes or add more prefixes with the same uri.

If you tell the XSLT in one stylesheet to remove the namespace i18n prefix 
without telling it which namespace uri to remove (so without a bound 
namespace uri), it does not know what to do.

If you bind the namespace "" to the 
namespace prefix i18n in the last stylesheet in pipe (even if you don't need 
it) a exclude-result-prefix should work too. So you would only need it in 
one stylesheet. You only may not copy elements or attributes with namespaces 
to the output - namespaces are copied independent of exclude-result-prefix.




System Development
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message