Re: select="*/@UNITS/.."

Subject: Re: select="*/@UNITS/.."
From: "James Tauber" <jtauber@xxxxxxxxxxx>
Date: Thu, 18 Mar 1999 03:03:30 +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?


why not just use *[@UNITS] ?

James


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


Current Thread