Subject: RE: [xsl] Test for current node being an element or attribute? From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Date: Tue, 10 Dec 2002 15:29:41 -0000 |
> > what about: > > <xsl:if test="../@*[current()]"> > Stop guessing, and read the spec. current() returns a node-set. When used in a predicate, [current()] returns true if the node-set is non-empty. It is. Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Test for current node bei, Jeff Beadle | Thread | Re: [xsl] Test for current node bei, Dimitre Novatchev |
RE: [xsl] Chaining Transformers/Tem, Varley, Roger | Date | RE: [xsl] Chaining Transformers/Tem, Michael Kay |
Month |