[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member