xsl-list
[Top] [All Lists]

RE: [xsl] Split and Found unique values

2006-12-07 16:11:29

In 2.0 you want distinct-values(for $c in target:row return 
tokenize(@Category, '-')).

  I didn't follow the context in details, but I guess you mean either:

    distinct-values(for $c in target:row return
                      tokenize($c/@Category, '-'))

or (I prefer this one):

    distinct-values(target:row/tokenize(@Category, '-'))


Quite right.

Michael Kay


--~------------------------------------------------------------------
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>