I have the following text
<Tick Number="TK 1234 SRET/H JGK4FXT 1108/16OCT - AS"/>
How can I retrieve the 1234 where @Number contains "TK" and "- AS"
I currently only am searching for "TK"
<xsl:value-of select="substring-before(substring-after(normalize-space($Tkting[contains(@Number, 'TK')][position() = $pos]/@Number), ' '), ' ')"/>
I want to use this in a count variable as well. Such as
<xsl:value-of select="count($Tkting[contains(@Number, 'TK')])"/>