This operation introduces the schoolbag (delete node) and xml schoolbag of the xml file.
Delete a node:
1. Locate the node to be deleted
<we>@{help/usr/users.xml:HtokID=usr0.1}</we>
2. Delete
<Bag id=help/usr/users.xml act=del/>
3. Save the deleted xml file
<Bag id=help/usr/users.xml act=save/>
Complete code
<Html> <chtml> <we >@{ help/usr/users. xml: HtokID = usr0.1} </we> <! -- Locate the node to be deleted --> <Bag id = help/usr/users. xml act = del/> <! -- Delete --> <Bag id = help/usr/users. xml act = save/> <! -- Save the deleted xml file --> </chtml>
(Example file: _ samples/xml_del.html) inLight PlatformUnder the _ samples Directory
Open
Help/usr/users. xmlFile to see what is the difference before and after deletion
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