[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: text-transform (capitalize every word)

Subject: Re: text-transform (capitalize every word)
From: "Noel Golding" <noel@xxxxxxxxxxxxxxx>
Date: Mon, 26 Aug 2002 14:40:52 -0400
xsl capitalize
I received the following from a post to the fop-user@xxxxxxxxxxxxxx  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@xxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, August 26, 2002 2:39 PM
Subject: Re:  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@xxxxxxxxxxx
> http://www.javertising.com
> ________________________________________
> Author, Mastering XSLT, Sybex Books
> Co-Author, Mastering XML, Premium Edition, Sybex Books
>
> ----- Original Message -----
> From: "Noel Golding" <noel@xxxxxxxxxxxxxxx>
> To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Monday, August 26, 2002 11:14 AM
> Subject:  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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.