[XSL-LIST Mailing List Archive Home]
[xsl] Depth of an XML file using XSL
Subject: [xsl] Depth of an XML file using XSL|
From: Padmapriya Kandhadai <priyak@xxxxxxxxxxxxxxxx>
Date: Wed, 16 Oct 2002 12:49:57 -0400 (EDT)
I want to find the maximum depth of an XML file.
Say I have
I want the xsl code to return the depth as three. So for any generic XML tree how do I find the greatest depth of the xml tree?
Thanks and regards,
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list