Avatar of cwilliams59
cwilliams59
Flag for United States of America

asked on 

XPath Count in SharePoint

I am not to familar with using XPath Queries. I am working with a list in SharePoint and I have it doing a count based on priority but I also need to weed out the items where the status is resolved. I have listed my variable below. I just need to know how to have it not count the items that are resolved. I thought I could put in a where function but everyway I tried it through an error.
<xsl:variable name="EmergencyPriortiy" select="count(/dsQueryResponse/Rows/Row[normalize-space(@Priority) = '(1) Emergency']" />

Open in new window

XMLMicrosoft SharePoint

Avatar of undefined
Last Comment
Gertone (Geert Bormans)

8/22/2022 - Mon