Avatar of cwilliams59
cwilliams59Flag 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
Gertone (Geert Bormans)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Excellent, thanks so much, now that I see it here, i cant believe it was evading me.
Gertone (Geert Bormans)

All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck