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=4905>. 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=4905 xsltc: xpath parameters with non-leaf decendant-predicates yield empty nodesets Summary: xsltc: xpath parameters with non-leaf decendant- predicates yield empty nodesets Product: XalanJ2 Version: CurrentCVS Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: org.apache.xalan.xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] XSLTC ----- foofoo foo600500400300foo XT -- foo600500400300foo foo600500400300foo XML --- <dataset foo="bar"><lump wig="wam"><point x="60" y="20" z="0">600</point><point x="50" y="20" z="0">500</point><point x="40" y="20" z="0">400</point><point x="30" y="20" z="0">300</point></lump></dataset> XSL --- <?xml version='1.0' encoding='utf-8' ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="text" indent="no"/> <xsl:template match="/"> <xsl:call-template name="foo"> <xsl:with-param name="ack" select="dataset/lump[1]/point"/> </xsl:call-template> <xsl:call-template name="foo"> <xsl:with-param name="ack" select="dataset/lump[1]"/> </xsl:call-template> </xsl:template> <xsl:template name="foo"> <xsl:param name="ack"/> foo<xsl:for-each select="$ack"> <xsl:value-of select="."/> </xsl:for-each>foo</xsl:template> </xsl:stylesheet>
