Re: XSL: Returning a selected node in the context of it'sancestors

Subject: Re: XSL: Returning a selected node in the context of it'sancestors
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Wed, 20 Oct 1999 16:02:41 +0100
Whoops - please disregard the unnecessarily complex solution I posted
earlier - this is the cleaned up version....

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

	<xsl:template match="*" >
		<xsl:copy>
			<xsl:copy-of select="@*|text()" />
			<xsl:apply-templates
select="child::*[descendant-or-self::material='SiO2']" />
		</xsl:copy>
	</xsl:template>
	
</xsl:stylesheet>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread