RE: [xsl] Split and Found unique values

Subject: RE: [xsl] Split and Found unique values
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 7 Dec 2006 23:11:08 -0000
> > 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

Current Thread