xsl-list
[Top] [All Lists]

Re: [xsl] sequence of strings

2008-12-02 10:52:02
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>