Given the bolow sample, I need to count the elements <quick> with a child 'yes'. The result for this sample should, of couse, be '1', but I cannot figure out how to write the expression in the <xsl:template select="????"> I tried count(//quick/*) >0 which returns false...
<?xml version="1.0" encoding="UTF-8"?>
<dffob>
<destinations>
<dest>
<quick/>
</dest>
<dest>
<quick>yes</quick>
</dest>
</destinations>
</dffob>
<?xml version="1.0" encoding="UTF-8"?>
<dffob>
<destinations>
<dest>
<quick/>
</dest>
<dest>
<quick>yes</quick>
</dest>
</destinations>
</dffob>