XML Application (3): Implementation XMLselTree (v1.0)

zhaozj2021-02-16  28

XMLselTree (v1.0) Demo: http://61.163.246.155/pro/xmlseltree/ Example diagram:

One: Features Description:

Client Environment IE5.x IE6 Unlimited Level Tree Structure is not limited, theoretically the depth of the tree can be loaded unlimited data: a. Load B. Dynamically load C. A B does only display a tree section of the tree to automatically expand the branch The first leaf is re-encapsulated a child node node icon with a node property dynamically specifies the current node icon change. The parent node icon change the current node highlights the data subset of data contained in the selection node: Select Node Data Data Subset. When dynamically loads the sub-node selection status, automatically follow the parent node Select Status When all child nodes are selected, all parent nodes are automatically selected as unchecked, all parent nodes are automatically unchecked, and whether the node gets focus select the state of freedom of the specified node node data subsets, data delimiter II: thank implementation of the program the following references: MSDN: Grant Harris, Bryn Waibelhttp: //msdn.microsoft.com/library/shared/deeptree/htc/ DeepTree.htc9cbs: chinaokhttp: //www.chinaok.net/*** (Now no access: () Key method: 1. Set the global object, get the current node 2. Dynamically load node data using XMLDom (XML format character Strings) 3. According to the client IE version, call different versions of the XSL file 4. Use XSL to transform XML data, obtain the node related attribute 5. In accordance with the node hierarchy, obtain the current node's parent node and subsystem node 6. In accordance with the node level Relationship, displayed as a tree structure 7. Synchronous (asynchronous) current node and its parent node, the selection status of the subsystem node

Three: Instructions for use: Due to limited level, there is insufficient and need to improve, please give more points.

Description 1. Nodes of branches: Nodes with subtocks 2. Leaf node: Nodes without sub-nodes 3. Node properties Select specified node properties as needed 4. Node attributes case-sensitive, note! XML data format

转载请注明原文地址:https://www.9cbs.com/read-26457.html

New Post(0)