This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Parsing ???
- From: Dimitre Novatchev <dnovatchev at yahoo dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 28 May 2002 08:41:02 -0700 (PDT)
- Subject: [xsl] Re: Parsing ???
- Reply-to: xsl-list at lists dot mulberrytech dot com
> I have a problem regarding parsing a string and using it in XSL
Sheet.
>
> For example ..
> <data>A,vc,dfg,aa,dfr,r</data>
>
> Now I want to use the comma seperated fields in my XSLT.
> Like match field 1 = something
> out some thing ..
> match field 2 = something
> out some thing.
>
> Please advise how can I achieve this ??
The FXSL library provides a convenient way to perform tokenizing. Look
for:
strSplit-to-Words2.xsl
Also, you may have a look in Dave Pawson's XSLT FAQ site:
http://www.dpawson.co.uk/xsl/sect2/N1755.html#d96e102
Cheers,
Dimitre Novatchev.
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list