I reference the TOC in the garden. First, let everyone have a preliminary impression. after the article is completed, I will add several files CP with several images, open navi on IE5 or above, just like opening an html file. after the xml, the TOC, which is very similar to the garden, will be displayed. 2. I reference the TOC of the garden. First, let everyone have a preliminary impression. after the article is completed, add several files C & P with several images. open navi on IE5 or above, just like opening an html file. after the xml, the TOC, which is similar to the garden, will be displayed. Second, we hope you can analyze my xml file based on its hierarchy, my hierarchy is the same as my garden. For me, a Layer is similar to a Layer where the element is at the same level, that is, a sibling relationship. The value of Childs indicates whether the element has a subnode. the parent and child are connected by AncestorID and ID, and so on. In the xsl file, the padding-left attribute is used based on the Layer value to implement the tree structure, and the display: none or block is used to fold the Layer value. This is the principle. well, let's take a look at the important Navigator. xsl:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.