Re: [xsl] String Manipulation

Subject: Re: [xsl] String Manipulation
From: Gustaf Liljegren <gustafl@xxxxxxxxxx>
Date: Sun, 23 Jun 2002 04:09:02 +0200
Joel Konkle-Parker wrote:

>specifically, I need to take either take out that space and have
>AboutUs, or just use the first word, About. It also needs to be set
>up so that if category_name is just one word, it will be preserved.

There's some string manipulating functions in XPath (section 4.2). Try the
substring-before() function. Or if you neeed to remove all spaces, try
translate().

Gustaf


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


Current Thread