xsl-list
[Top] [All Lists]

Re: optional children

2002-10-21 04:47:01
Andrew Welch wrote:

I want to output  if and only if element  has child *, with
optional children  and .
*

What about
<xsl:template match="a[count(b|c|d) = count(*)]">
        <foo/>
</xsl:template>

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>