0
에서 유로 기호와 공간을 제거 나는 XML이있다 : 쉼표 아래 이루어집니다는 XSLT 1.0
<price>
<now>€ 249,95</now>
</price>
양은 전에, 나는 단지 유럽뿐만 아니라 서명을 제거 할.
이것은 (XSLT 1.0) 무슨이다 :
<xsl:template name="amount">
<xsl:param name="string"/>
<xsl:param name="separator" select="','"/>
<xsl:choose>
<xsl:when test="contains($string,$separator)">
<xsl:value-of select="substring-before($string,$separator)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$string"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
'substring-after ($ string, "")'? – GSerg