[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: select="*/@UNITS/.."
All children with UNITS attributes is select = "*[@UNITS]" -----Original Message----- From: Elliotte Rusty Harold [mailto:elharo@xxxxxxxxxxxxxxx] Sent: Wednesday, March 17, 1999 1:13 PM To: xsl-list Subject: select="*/@UNITS/.." 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|