To replace a single quote in an XSLT view of Dataform webpart, the following solution is the easiest.
The condition we wanted to check is if the column Resolution is equal to Won't Fix, since there was a single quote in the condition, the web part was failing to display. So the condition is changed like below to replace the single quote with white space.
<xsl:value-of select="count(/dsQueryResponse/Rows/Row[translate(@Resolution, "'",'') = 'Wont Fix'])"/>
The condition we wanted to check is if the column Resolution is equal to Won't Fix, since there was a single quote in the condition, the web part was failing to display. So the condition is changed like below to replace the single quote with white space.
<xsl:value-of select="count(/dsQueryResponse/Rows/Row[translate(@Resolution, "'",'') = 'Wont Fix'])"/>
No comments:
Post a Comment