I have the following code which appears to be failing.
<xsl:when test="$trialSiteName = 'Physician's Office'">
Also, visual studio is complaining saying
"Expected end of expression, found 's"
How am I supposed to escape the character?
Much more simple -- use:
<xsl:when test="$trialSiteName = "Physician's Office"">
Declare a variable:
<xsl:variable name="apos" select='"'"'/>
Use the variable like this in the <xsl:when>
clause:
<xsl:when test="$trialSiteName = concat('Physician', $apos, 's Office')">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With