[xsl] XSLT processor and substring-after

Subject: [xsl] XSLT processor and substring-after
From: "N Zhou" <zhou_naijun@xxxxxxxxxxx>
Date: Wed, 13 Apr 2005 13:57:58 -0500

I'm using XML::XSLT Perl module to transform XML data:
     <gml:coordinates>89,43 90,43.5</gml:coordinates>

I want to split the 89,42 90, 43.5 to two substrings as :

I tried substring-after but didn't get results (XML::XSLT returned blank):
<xsl:variable name="coords1" select="gml:boundedBy/gml:Box/gml:coordinates"/>
<xsl:value-of select="substring-before($coords1, ' ')"/>
<xsl:value-of select="substring-after($coords1,' ')"/>

Could anyone tell me why I cannot split the string: are there errors in my XSL; or, the module XML::XSLT does not support substring-after (it uses XPath1.3)? Anyone can recommend me another Perl module of XSLT processor?

Thank you very much!

n zhou

Current Thread