Hi Ian,
How would I go about getting distinct values from the single parameter
"$services"?
It would be easier if you gave an example of what the $services look like.
I will Assume that it will be a group of elements called foo
<foo>value1</foo>
<foo>value2</foo>
<foo>value1</foo>
<foo>value3</foo>
<foo>value2</foo>
Then you can find them the usual way (relying on implicit conversion to string):
<xsl:for-each select="$services[.!=preceding-sibling::foo]">
Do something
</xsl:for-each>
Regards,
Ragulf Pickaxe :-)
--~------------------------------------------------------------------
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>
--~--