I am trying to get a count of the number of times the word "Development" appears in the column - this is a multi - choice column which means the word "Development" can appear along with other words. When I do the below,

<xsl:variable name="Development" select="count(/dsQueryResponse/Rows/Row[normalize-space(@Project_x0020_Type) = 'Development'])" />

It gives me a count of only the entries which have only "Development" but not like "Development; SharePoint". How can I use the contains attribute for it? Excuse my ignorance please!


You need to use the XSL contains() function.