You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Giacomo Pati <Gi...@pwr.ch> on 2000/10/01 14:35:54 UTC
Re: cvs commit:
xml-cocoon/src/org/apache/cocoon/components/language/markup/sitemap/java
sitemap.xsl
stefano@locus.apache.org wrote:
>
> stefano 00/09/30 17:19:54
>
> Modified: src/org/apache/cocoon/components/language/markup/sitemap/java
> Tag: xml-cocoon2 sitemap.xsl
> Log:
> added hidden link translator code (Giacomo, please check if the location is right... this logicsheet is a nightmare to understand without any comment!!!!
Yup! As soon as I find more time to comtribute I will comment all my
stuff seriously. But for now let's have something working.
> @@ -745,6 +751,10 @@
> return view_<xsl:value-of select="translate(@name, '- ', '__')"/> (pipeline, listOfLists, environment);
> }
> </xsl:for-each>
> + // performing link translation
> + if (environment.getObjectModel().containsKey(Cocoon.LINK_OBJECT)) {
> + pipeline.addTransformer (transformer_link_translator, null, transformer_config_link_translator, emptyParam);
> + }
> </xsl:if>
> </xsl:if>
> <xsl:variable name="component-type">
Yes, this is exactly the place to put your translater in :)
Giacomo
--
PWR GmbH, Organisation & Entwicklung Tel: +41 (0)1 856 2202
Giacomo Pati, CTO/CEO Fax: +41 (0)1 856 2201
Hintereichenstrasse 7 Mobil: +41 (0)78 759 7703
CH-8166 Niederweningen Mailto:Giacomo.Pati@pwr.ch
Web: http://www.pwr.ch