[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] Check for Element existence within a predicate
Subject: [xsl] Check for Element existence within a predicate From: "John Smith" <debrief@xxxxxxxxx> Date: Mon, 27 Oct 2008 13:50:20 +0000 |
Hello, Is it possible to check whether a node exist from within a predicate. what I am trying to do is: <xsl:if test="count(parent::aaa/preceding-sibling::bbb/ppp[@id = $pId and not(exists(extraChildNode))]/zzz) > count(yyy)"> So I want to count the "zzz" child elements of "ppp" but only for the "ppp" element that does not have "extraChildNode" as a child. Thanks, J
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Fwd: DiffDog 2008 and XSL, Andrew Welch | Thread | Re: [xsl] Check for Element existen, Martin Honnen |
Re: [xsl] strip leading whitespace , Dimitre Novatchev | Date | Re: [xsl] Check for Element existen, Martin Honnen |
Month |