[xsl] Comparing comma seperated string in XSLT

Subject: [xsl] Comparing comma seperated string in XSLT
From: Girish Savadatti <xsllist@xxxxxxxxx>
Date: Sat, 3 May 2003 17:41:29 -0700 (PDT)

I am passing a parameter to XSLT which is comma
seperated value. e.g. depts = 1,2,3,4,5

XML source is 

  <docTitle>FooBar News</docTitle>

Here any one deparment from depts string matches in
departments element then I want to to display this
News on the page. 

i.e. use string tokenizer on depts string get one
department and then do contains on <departments> 

Is it possible to do using XSLT?

Please help me.


Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread