Subject: Re: [xsl] text-transform (capitalize every word) From: "Noel Golding" <noel@xxxxxxxxxxxxxxx> Date: Mon, 26 Aug 2002 14:40:52 -0400 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] text-transform (capitaliz, Chuck White | Thread | Re: [xsl] text-transform (capitaliz, Noel Golding |
[xsl] SAXParseException, Manish Shah | Date | Re: [xsl] text-transform (capitaliz, Noel Golding |
Month |