You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by greg keraunen <gk...@valinux.com> on 2000/07/07 04:02:37 UTC

ancestor axis is not working for me with xalan-j 1.0.1

I have not been able to get any output from templates using the ancestor
axis, such as in the example:

	<PAGE>
		<HEADING>Testing</HEADING>
		<TEST/>
	</PAGE>

<xsl:template match="TEST">
	<xsl:for-each select="ancestor::*">/<xsl:value-of  select="name()"/> 
    	</xsl:for-each> 
</xsl:template>

Is there a known problem with xalan-j in this regard?
I noticed messages implying that xalan-c++ supports ancestor axis. Is
this a deficiency in the java version?
Thanks.
-- 
greg keraunen <gk...@valinux.com> 408-542-8600 x8085
web software engineer