Hi nochmal, der Fehlerteufel hat sich eingeschlichen :-)

2009/9/13 Christian Lohmaier <[email protected]>:
> [...]
> <xsl:template match="source|target" mode="align">
>        <!-- adapt rule, align the image tags to those of the
> trans-unit's source -->
>        <xsl:param name="imagetag"/>
>        <xsl:copy>
>                <xsl:copy-of select="@*"/>
>                <xsl:value-of
> select="replace(.,'&lt;image[^&gt;]*&gt;',$imagetag)"/>
>                <xsl:apply-templates/>

hier muß es
             <xsl:apply-tempates select="*"/>
heißen (ansonsten bekommt man den alten Inhalt zusätzlich zum ersetzten Inhalt)

>        </xsl:copy>
> </xsl:template>

ciao
Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Antwort per Email an