Subject: RE: select="*/@UNITS/.." From: David Schach <davidsch@xxxxxxxxxxxxx> Date: Wed, 17 Mar 1999 10:36:05 -0800 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: need XML documents with XSL scr, Didier PH Martin | Thread | Re: select="*/@UNITS/..", James Tauber |
RE: Outdated XSL, What are my optio, Guy_Murphy | Date | RE: comment nodes, David Schach |
Month |