turugina #6569(2008/06/24 02:42 GMT) [ XSLT ] Rating0/0=0.00
XSLTでは XPath Functions の translate() が使えます。
1 2 3 4 5 6 7 8 9 10 11 12 13
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fn="http://www.w3.org/2005/xpath-functions" > <xsl:template match="/" > <!-- 基本 --> <xsl:message select="fn:translate('typewriter', 'qwertyuiop', 'QWERTYUIOP')" /> <!-- 特定の文字を消す --> <xsl:message select="fn:translate('かたたたき', 'た', '')" /> </xsl:template> </xsl:stylesheet>
Rating0/0=0.00-0+
[ reply ]
turugina
#6569()
[
XSLT
]
Rating0/0=0.00
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fn="http://www.w3.org/2005/xpath-functions" > <xsl:template match="/" > <!-- 基本 --> <xsl:message select="fn:translate('typewriter', 'qwertyuiop', 'QWERTYUIOP')" /> <!-- 特定の文字を消す --> <xsl:message select="fn:translate('かたたたき', 'た', '')" /> </xsl:template> </xsl:stylesheet>Rating0/0=0.00-0+
[ reply ]