XML has no increment variables Once a variable is defined, he cannot change this equivalent to the final field in Java, but in some cases, the recursive method of combining templates can be achieved.
As a result, if the XML file is Familytree.xml XML Version = "1.0" Encoding = "UTF-8"?>
This is to give a visual representation, for example, Otto Sandra Lichao ZHANGSAN ERIC HALI LISI HELI ANDY to write XSLT style sheet FamilyTree.xslt Xml Version = "1.0" Encoding = "UTF- 8 "?> XMLns: XSL = "http://www.w3.org/1999/xsl/transform"> SELECT = "'0'" /> xsl: Apply-Templates> body> html> xsl: template> < XSL: Template Match = "Person"> And usually the same style table begins with the root node of the text, and enter a basic HTML document, then it selects the Template: Set the indentation of the text. Finally recursive calls the Person template, transfer $ level 1 as a parameter, Tube does not increase an existing variable but he does deliver a new local variable to template. in. The value of this variable is greater than the previous value, which is different from the skill of recursive processing, in practice in XSLT. Method without incremental variable