Subject: select="*/@UNITS/.."
From: Elliotte Rusty Harold <elharo@xxxxxxxxxxxxxxx>
Date: Wed, 17 Mar 1999 13:12:31 -0800
|
I'm trying to find all child elements that have UNITS attributes by
using * to find all child elements, @UNITS to winnow those down to the
ones with UNITS attributes, and .. to select the parent node, like this:
<xsl:template match="ATOM">
<xsl:apply-templates select="*/@UNITS/.."/>
</xsl:template>
However, this doesn't seem to actually work. Does anyone see a problem
with what I'm doing?
--
Elliotte Rusty Harold
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|