You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Kutz Clemens (PEA-FE2/BA-T)" <Cl...@de.bosch.com> on 2002/07/17 11:09:48 UTC

trouble with translate-function

The following statement should delete any unnecessary letters.

e.g. '500%' -> '500'

Therefore I use:

<xsl:value-of
select="translate(GRAPHIC/@HEIGHT,'+-0123456789.,%*abcdefghijklmnopqrstuvwxy
z','+-0123456789.')"/>

but '500%' remain unchanged.

Does anybody know the fault?


thx


p.s.: I use an xsl-stylesheet to convert an xml-file with fop-0.20.4 to a
pdf-file.