[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] sequence of strings


Subject: Re: [xsl] sequence of strings
From: Ruud Grosmann <r.grosmann@xxxxxx>
Date: Tue, 02 Dec 2008 16:52:19 +0100

Florent Georges wrote:
    'BLD' selects a string
    'BLD'[...] selects a string iff the predicate is true
    'BLD'[contains($string, 'bold')] selects the string iff $string
                                     contains 'bold'

This is another way to write:

if ( contains($string, 'bold') ) then 'BLD' else ()


Ah, then I think this solution fits my needs better, because in this way I can controll the order of the strings in the sequence. Thanks for clarifying.
regards, Ruud



Current Thread