XML file source code viewer
When I first studied DOM, I saw two books, I feel that the impression is not deep, so I want to be a thing to consolidate. It happened that the problem was also considering the code highlighting, so there was this "work". From a technical point of view, there is nothing to take, and the algorithm is simple. The core function is changed from the "ASP 3 Advanced Programming" P352 traversed the XML tree. As far as the code is highlighted, the meaning of this stuff is not big. However, as a practicing example of the DOM, it is still very effective.
From the perspective of the DOM, I look at an XML document. After doing this example, there should be a relatively comprehensive understanding.
The rear includes running rendering, JS version source code, and ASP version source code.
First, running renderings