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