I have these two arrays:
<xsl:variable name="array1" select="umbraco.library:Split($currentPage/websiteThemes, ',')//value"/>
<xsl:variable name="array2" select="umbraco.library:Split($currentPage/websiteThemes2, ',')//value"/>
I would like to see which elements inside the arrays which matches. How can I accomplish that?
This is the output from copy-of array1 and array2:
array1:
<value>1087</value><value>1002</value><value>3202</value>
array2:
<value>1087</value><value>1577</value>
In this example, I would like to get the value 1087 as my result.