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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: XSL: Returning a selected node , Francis Norton | Thread | Ann: New Release of Oracle XSQL Ser, Steve Muench |
Re: document(), apply-templates and, Larry Mason | Date | How do I use non-literals in <xsl:i, George Martell |
Month |