"Nistala, Anu" wrote:
Is there a way to find out the number of nodes
Yes. The way depends on your definition of "node." You can use:
$parent/count(node())
If you want to count child elements instead, use:
$parent/count(*)
and the corresponding names of all the child nodes under
a specified parent?
If I understand correctly, you want all the dinstinct names of the
child element of an element? Try:
dinstinct-values(*/name(.))
Regards,
--drkm
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--