Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 1543 invoked by uid 500); 9 Aug 2002 09:40:31 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 1531 invoked from network); 9 Aug 2002 09:40:30 -0000 Message-ID: <20020809094044.45441.qmail@web9502.mail.yahoo.com> Date: Fri, 9 Aug 2002 02:40:44 -0700 (PDT) From: Alex Romayev Subject: Re: Leftover tags from I18n To: cocoon-users@xml.apache.org In-Reply-To: <3D52843A.1080301@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --- Joerg Heinicke 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 > joerg.heinicke@virbus.de > www.virbus.de > > > --------------------------------------------------------------------- > Please check that your question has not already > been answered in the > FAQ before posting. > > > To unsubscribe, e-mail: > > For additional commands, e-mail: > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: