Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XSLT - removing a tag from within text XSLT - removing a tag from within textTo: NULL Date: 6/17/2009 4:06:00 AM 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!!!!! | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
