[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How can I filter stoppwords

Subject: How can I filter stoppwords
From: "Sellmer-Brüls, Barbara" <B.Sellmer-Bruels@xxxxxxxxxxx>
Date: Mon, 28 Aug 2000 11:46:18 +0200
stoppwords
Hi,

I need to filter stopp words from book titles.

Example:
<xmlfile>
<book>
   <title>The Ants</title>
   <id>1234</id>
</book>
<book>
   <title>Lifestyle</title>
   <id>1235</id>
</book>
</xmlfile>

I tried to do it with <xsl:value-of select="substring-after(title,'The')"/>
I was successfull as regards to "The Ants", but in all cases where there
exists no stopp word, the substring function returns an empty string.

Does anybody know another way to filter stopp words? 
How do you XSL-create a sort criterion? 
How can I tell the what-so-ever-function that there is not only one stopp
word, but a list of such words to be stripped from the beginning (!!!) of
titles.

Thanks a lot.
Barbara
---
Barbara Sellmer-Bruels
Klopotek & Partner GmbH - Berlin
E-Commerce


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.