问题 Need to add alternate digits in a number receiving from XML file using XSLT, for instance If I am receiving a 123456789, I need to calculate alternate digit sum from right most using XSLT function, can i have any suggestions on this ? Thanks, Laxmikanth.S 回答1: This is extremely easy to do with XSLT 2.0 (actually just with a single XPath 2.0 expression): The following XSLT transformation: <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > <xsl:output method="text"