Istructuredmodel (DOM Document) profiling view
In the previous sections, we have fully covered several of the core data models of WTP: Syntax document (istructureddocument), semantic document (Idomdocument, icssdocument), and WTP model (Istructuredmodel). Istructuredmodel to some extent can be regarded as the façade of the semantic document and the grammatical document, and the relationship of the three is again:
Before finishing the WTP grammar document (istructureddocument), we developed a structured document analysis view, which I would like to deepen my understanding of istructureddocument. In this section, we are developing a view that analyzes the semantic document of WTP (we only analyze the most commonly used idomdocument) and hopefully has a similar effect.
PS: These two views can be used as a tool for developers who want to modify or customize WTP source code (including, of course, some tools based on WTP) can do a tool when writing code Analysis Istructureddocument (Text Region) and When Idomdocument (Indexed Region) encounters an obstacle, these two views should be an assistant ^_^. And by comparing the two views, you should understand why Istructureddocument is a syntax document, and why Idomdocument (icssdocument) is the semantic document.
The development of this istructuredmodel (DOM Document) parsing view is similar to the previous structured document analysis view, where there is no understanding (where technical implementation is involved), and a reference to the previous section fourth.
Demand
Similar to the previous structured document analysis view requirements, roughly as follows:
1, provide a structured model analysis view, tree-like way to display the current editor idomdocument
2, Interactive (Editor---> Structured model analysis View):
Activate the WTP JSP editor (or the editor we've customized earlier) to update structured model Analytics view instantly
Automatically select the corresponding node in the Structured model analysis view when the user light is moved in the editor
Instant Update structured Model analysis view when content in editor changes
Empty structured model parse view contents when the current activation editor closes
3, Interactive (structured model analysis View---> Editor)
Double-click a specific node in the tree control in the view, and the corresponding content is selected in the editor