finding maximum depth of chapter
问题 everyone . In this case ,I want to conpute the maxximun depth of the chapter.For instance, a book without chapters has height 0 . A book only has chapters with no sections ,the height should be 1.The folowing is xml: <book title="D"> <author> <name>abc</name> </author> <chapter title="chapter1"> <section title="section1.1"/> <section title="section1.2"> <section title="section1.2.1"/> <section title="section1.2.2"/> </section> <section title="section1.3"> <section title="section1.3.1"/> <