This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: pattern matching in xslt
- From: Greg Faron <gfaron at integretechpub dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 23 Apr 2002 14:50:16 -0600
- Subject: Re: [xsl] pattern matching in xslt
- Reply-to: xsl-list at lists dot mulberrytech dot com
At 02:32 PM 4/23/2002, you wrote:
>Hello everyone,
>
>I would sincerely apprec. any help you might offer. What I need to do is
>tokenize a node value into chunks, filter the trash and return in the xml,
>the new clean string. I'm a newbie with xslt and am having a tough time
>deciphering how to accomplish this.
>
>As an examle:
>
><document>
> <description>The quick .. brown fox .. jumped over .. the lazy ..
>programmer</description>
></document>
How do you define "trash"? Is it the literal string " .. "? If you
definitively define what is legal and what is illegal, this will be very
simple.
As for tokenization and filtering, check out http://www.exslt.org
Greg Faron
Integre Technical Publishing Co.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list