DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5301>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5301 XSLT rec. xsl:if example Nr 1 doensn't work Summary: XSLT rec. xsl:if example Nr 1 doensn't work Product: XalanJ2 Version: 2.2.x Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Xalan AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] According to the W3C XSLT Recommendation the following stylesheet should append a comma (,) to all names, except the last: <xsl:template match="namelist/name"> <xsl:apply-templates/> <xsl:if test="not(position()=last())">, </xsl:if> </xsl:template> However, when I try this with the following xml file (using the command line org.apache.xalan.xslt.Process) <?xml version="1.0" encoding="utf-8"?> <namelist> <name>Stijn Vansummeren</name> <name>John Doe</name> </namelist> I get the result: <?xml version="1.0" encoding="UTF-8"?> Stijn Vansummeren, John Doe, Which doesn't seem correct.
