|
Subject: [xsl] Depth of an XML file using XSL From: Padmapriya Kandhadai <priyak@xxxxxxxxxxxxxxxx> Date: Wed, 16 Oct 2002 12:49:57 -0400 (EDT) |
Hello,
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Requested review, xml 2 j, Robert Koberg | Thread | [xsl] flattening html table with ro, Graham Seaman |
| Re: [xsl] xsl:sort ... jeff comes b, Jeni Tennison | Date | [xsl] flattening html table with ro, Graham Seaman |
| Month |