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

uses for strSplit-to-Words2 was RE: Re: How to process

Subject: uses for strSplit-to-Words2 was RE: Re: How to process a list ?
From: "Bryan Rasmussen" <bry@xxxxxxxxxx>
Date: Fri, 8 Mar 2002 11:50:40 +0100
process list uses
Dimitre wrote:
>Use strSplit-to-Words2.xsl from the FXSL xslt functional programming
>library.

I was just thinking that strSplit might enable something I've thought of
before but could never quite get my head around, which we might call
double-splitting, that is to say having a list of values that are split in
two(or more ways), example of css values should clarify meaning.
<div style="background-color:buttonface;border-bottom:black 2px
solid;border-right:black 1px solid; font-family:verdana;
font-size:largest;"></div>
I have sometimes come across scenarios where it would be useful to split the
values in @style into seperate elements for the property names and values,
have always had gut feeling that doing so in xslt would hurt my brain,
although I've written plenty of variations on classic string splitting
templates.
it seems that if one saved each split at the ; to a nodeset, then use
substring-before, substring-after on that nodeset at the : you could do
something like this, slight trepidation about processing power used,
although I don't think of this as online stuff, rather a datamining thing.
Am curious if others using the FXSL library find this a reasonable
suggestion.


 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.