I would like to implement a `split function/template` which takes as input a string and a delimiter and returns a split array of the string
问题 I would like to implement a split function/template in XSLT which takes as input a string and a delimiter and returns a split array of the string.. Or rather I'd like the ability to do something along the lines of: <xsl:call-template name="F"> <xsl:with-param name="input" select="'a,b,c,d,e'"/> <xsl:with-param name="replacement"> <option value='$x'>$x</option> </xsl:with-param> </xsl:call-template> which will give me <option value='a'>a</option><option value='b'>b</option><option value='c'>c<