I have a string like this and i need to get specific substring between specific |'s. Like between first | and second | (5000935). I use the code below for that but i need easier way for further substrings.
102237315|5000935|771803||139566.66|0|139566.66|139566.66|||string|Y||P150007170|46193808
<td><xsl:value-of select="substring-before(substring-after( . ,'|'),'|')"/></td>