Depth of an XML file using XSL2002-10-16 09:49:57Hello, I want to find the maximum depth of an XML file. Say I have <abc> <def> <ghi> http:test.com </ghi> </def> <jkl> <mno> http:test2.com </mno> </jkl> </abc> 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, Priya. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
|