Subject: Re: [xsl] text-transform (capitalize every word) From: Chuck White <chuckwh@xxxxxxxxxxx> Date: Mon, 26 Aug 2002 12:25:36 -0700 |
I wrote: -------------------- I'm curious where in the W3C collection of recommdendations text-transform is said to be deprecated. The latest Working Draft for CSS3's text module doesn't indicate this: http://www.w3.org/TR/2002/WD-css3-text-20020515/#caps-prop ---------------------- Never mind, I didn't hit your link. Sorry. > 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: [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@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: [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 > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] text-transform (capitaliz, Chuck White | Thread | Re: [xsl] text-transform (capitaliz, Steve Ball |
Re: [xsl] text-transform (capitaliz, Chuck White | Date | Re: [xsl] id() doesn't work!?, J.Pietschmann |
Month |