--- Joerg Heinicke <[EMAIL PROTECTED]> wrote: > 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="http://apache.org/cocoon/i18n/2.0" 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. > > Conclusion: > If you bind the namespace > "http://apache.org/cocoon/i18n/2.0" 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. I've tried that -- still doesn't work, only works as per your original suggestion, which was using the "exclude" in each stylesheet that outputs namespaced elements.
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. > > Regards, > > Joerg > > -- > > System Development > VIRBUS AG > Fon +49(0)341-979-7419 > Fax +49(0)341-979-7409 > [EMAIL PROTECTED] > www.virbus.de > > > --------------------------------------------------------------------- > Please check that your question has not already > been answered in the > FAQ before posting. > <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: > <[EMAIL PROTECTED]> > For additional commands, e-mail: > <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>