And BTW if send-fax is not a direct child of the node you're processing
but a remote descendant, you should write my condition with an axe:
<xsl:if test="count(//send-fax) = 0">
That will count every instance of send-fax in the whole document.
To count descendants of the current node named send-fax to any depth, use
count(.//send-fax).
./send-fax is the same as just send-fax because the child axis (represented
by .) is the default axis. However, // starts at the document root unless
it's preceded by an axis specifier. Conseqently, you don't need the . (or
the /) in ./send-fax, but you do need it in .//send-fax.
Jay Bryant
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]