This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: text-transform (capitalize every word)


I received the following from a post to the fop-user@xml.apache.org  mailing
list.
when I looked into translate I see no clear way to capitalize each word.


    Renderers probably won't implement text-transform since it's deprecated:

http://www.w3.org/TR/xsl/slice5.html#section-N6706-Text-transform-Property

I believe using translate() in the xsl is the way to do case changes.
That shifts the i18n burden to the stylesheet writer:
http://www.zvon.org/xxl/XSLTreference/W3C/xpath.html#function-translate


----- Original Message -----
From: "Chuck White" <chuckwh@pacbell.net>
To: <xsl-list@lists.mulberrytech.com>
Sent: Monday, August 26, 2002 2:39 PM
Subject: Re: [xsl] text-transform (capitalize every word)


> If you're using XSL-FO to do your PDFs, XSL-FO uses the core CSS attribute
> syntax, including text-transform. Whether or not your XSL-FO processor
> supports that is another question.
>
> Cheers,
>
> Charles White
> The Tumeric Partnership
> http://www.tumeric.net
> chuck@tumeric.net
> http://www.javertising.com
> ________________________________________
> Author, Mastering XSLT, Sybex Books
> Co-Author, Mastering XML, Premium Edition, Sybex Books
>
> ----- Original Message -----
> From: "Noel Golding" <noel@spearreport.com>
> To: <XSL-List@lists.mulberrytech.com>
> Sent: Monday, August 26, 2002 11:14 AM
> Subject: [xsl] text-transform (capitalize every word)
>
>
> > is there an xsl function or solution that will capitalize only the first
> > letter of every word?
> > using a css I can use text-transform, but this will not work when
creating
> a
> > pdf.  any advice?
> >
> > Thanks
> > Noel
> >
> >
> >  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> >
> >
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]