I have the node below. I would like to check if the first 3 characters are not equal to 169.
How do I do it using xslt if test? e.g. substring(StatuteCode,1,4)="169") I think is is wrong.
<StatuteCode Word="169142a4">Running</StatuteCode>
my code
<xsl:choose><xsl:when test='(StatuteCode,1,4)="169")'><xsl:value-of select="true()"/></xsl:when><xsl:otherwise><xsl:value-of select="false()"/></xsl:otherwise></xsl:choose>