[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Initcap function
> From dvd@davidashen.net Sat Feb 07 00:50:37 2004 > Date: Fri, 6 Feb 2004 11:56:51 -0800 (PST) > From: vhikida@inreach.com > To: docbook-apps@lists.oasis-open.org > Content-Type: text/plain;charset=iso-8859-1 > Subject: [docbook-apps] Initcap function > > I'm not sure if this is the right forum to ask this question. > > I was wondering if there is an xsl technique or function which I can use > to create text with initial capitalizations e.g. > > "New York" = initcap("NEW york") > > The closest I found is translate("NEW york","abcd..z","ABCD..Z") which is > not what I really need. If you need it in the presentation form, then it can be done by text-transform="capitalize" in XSL 1.0 (XSL FO). I think text-transform: capitalize is present in CSS too. This will not create capitalized text, but rather will represent the text as capitalized. David Tolpin http://davidashen.net/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]