Subject: Re: Node selection question - Correction From: "Sebastian Rahtz" <sebastian.rahtz@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 15 Feb 2000 22:54:34 +0000 (GMT) |
Respess, Christe writes: > > I just found that the statement I included in my previous message does > not actually do what I need done. It seems to be equivalent to > <xsl:apply-templates select="//INFO-OBJ" />. So now my question is how > to formulate a statement such as the one below so that it will return a > collection of all INFO-OBJ elements that are not children of INFO-OBJ > elements? process all INFO-OBJ elements, but add an empty template for the ones with I-O parents <xsl:apply-templates select=".//INFO-OBJ"/> ... <xsl:template match="INFO=OBJ/INFO-OBJ"/> sebastian XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Node selection question - Correctio, Respess, Christe | Thread | RE: Which one to choose, Ben Robb |
Re: XPath against a Document, Ben Bertola | Date | Re: Printing XML + XSLT (2nd try), RSuiter |
Month |