This operation introduces the schoolbag of the xml file (locate to the specified node) and the xml schoolbag.

Source: Internet
Author: User

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


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.