This operation introduces the schoolbag of the xml file (locate to the specified node) and the xml schoolbag.
Locate the specified node: e0.1
<chtml><we>@{_samples/test.xml:HtokID=e0.1}</we></chtml>
The expression above indicates that the e0.1 node of the _ samples/test. xml schoolbag is located, and the subsequent operations are performed on the current node. HtokID = node number is a fixed usage.
If it is used for the first time on the page, the system also introduces the xml file, the previous expression <we>@{_ Samples/test. xml: e} </we> equals to <we>@{_ Samples/test. xml: HtokID = e0} </we>
Check again
Development Instance
OrLight B2C e-commerce websitesThe Department information file (base/dept. xml) in the organization management module
Base/xml/deptShow.html? File = base/dept. xml & HtokID = d0.1
<we>@{@{pPage:file}:HtokID=@{pPage:HtokID}}</we>
Equal
<we>@{base/dept.xml:HtokID=d0.1}</we>
Read the xml file (base/dept. xml) node information (department information) of a department)
<Table width = "99%" cellpadding = "0" cellspacing = "0" border = "1" bordercolor = "# b4b4b4" align = center> <tr height = "24" class = bg0> <th width = "80" valign = "middle"> name </th> <td >{ pPage: file }: weName} </td> </tr> <tr height = "24" class = bg0> <th> remarks </th> <td >{ pPage: file }:dept }</td> </tr> </table>
Effect
Note: The right side is changedMarketing Department
Download Easy Do IT resources
Platform and the latest development manual free download: http://download.csdn.net/detail/tx18/8464425
Development Instance:Light B2C e-commerce websites, Free download: http://download.csdn.net/detail/tx18/8318585
The light-Open Platform will occasionally upgrade to provide more powerful and Easy functions for you. Please note thatDownload the latest version