Re: [xsl] text-transform (capitalize every word)

Subject: Re: [xsl] text-transform (capitalize every word)
From: Steve Ball <Steve.Ball@xxxxxxxxx>
Date: Tue, 27 Aug 2002 07:55:04 +1000
Noel Golding wrote:
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?

The XSLT Standard Library has a template for performing capitalisation, either of a single word or all words in a sentence. Also CamelCasing, etc.

Check out http://xsltsl.sourceforge.net/

HTHs,
Steve Ball

--
Steve Ball            |   XSLT Standard Library   | Training & Seminars
Zveno Pty Ltd         |     Web Tcl Complete      |   XML XSL Schemas
http://www.zveno.com/ |      TclXML TclDOM        | Tcl, Web Development
Steve.Ball@xxxxxxxxx  +---------------------------+---------------------
Ph. +61 2 6242 4099   |   Mobile (0413) 594 462   | Fax +61 2 6242 4099


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



Current Thread