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 s-...@artefrance.fr on 2003/03/04 18:04:48 UTC

Best way to uppercase text

Hi !

I would like to now your point of view on this subject :

I want to use the text-transform="uppercase" attribute in a fo:block tag, 
but I saw in the output console that it was not implemented yet (using 
0.20.5rc2), so I am wondering on the best way to implement it with xsl... 

I thought about using the xsl translate(string,string,string) function, 
but I don't think that's the best solution and I'm sure there is a better 
way to do that. And I don't want to put the uppercase value in my XML...

Any ideas ? 

Thanks,

Simon

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: Best way to uppercase text

Posted by "J.Pietschmann" <j3...@yahoo.de>.
s-oualid@artefrance.fr wrote:
> I want to use the text-transform="uppercase" attribute...
> I thought about using the xsl translate(string,string,string) function, 
> but I don't think that's the best solution and I'm sure there is a better 
> way to do that.

There is *no* better way to do this until locale aware string
functions arrive with XPath 2.0.

J.Pietschmann


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org