G
gwoodhouse
Hi All,
This should be so easy but is so incredibly not easy that im about
ready to kill myself.
What i have is this xml:
<node>
<start_time>00:00:<span class="hit">11</span></start_time>
</node>
and i just want it to output:
00:00:00
Luckily for me XSLT is ridiculous, making this problem unsolvable.
i've tried:
fn:substring-before(start_time, "<")
but of course, thats far too straight forward so it doesnt work.
I've tried:
<xsl:apply-templates select="start_time"/>
<xsl:template match="span">
</xsl:template>
but of course, that, although esoteric, doesn't work either
I've tried string(start_time), i've even tried to do fn:escape-uri and
tried to replace those values but that doesnt work either!
Please someone for the love of all that is good in this world help
me!!!!!
This should be so easy but is so incredibly not easy that im about
ready to kill myself.
What i have is this xml:
<node>
<start_time>00:00:<span class="hit">11</span></start_time>
</node>
and i just want it to output:
00:00:00
Luckily for me XSLT is ridiculous, making this problem unsolvable.
i've tried:
fn:substring-before(start_time, "<")
but of course, thats far too straight forward so it doesnt work.
I've tried:
<xsl:apply-templates select="start_time"/>
<xsl:template match="span">
</xsl:template>
but of course, that, although esoteric, doesn't work either
I've tried string(start_time), i've even tried to do fn:escape-uri and
tried to replace those values but that doesnt work either!
Please someone for the love of all that is good in this world help
me!!!!!