I was working on a stylesheet today that begs for a regular expression.
The Problem:
<file path='connector\fig\82675-48040.svgz'/>
I want to use parts of the path attribute but since the length varies I
can't use the string() function. It appears there is no good way to do
it in XSLT 1.0
The XSLT 2.0 spec is a working draft at this point. It appears that in
2.0 something like this will be available:
<xsl:value-of select='matches([REG EXP])'/>
CA