Bag tag, lol team tag

Source: Internet
Author: User

Bag tag, lol team tag

Function:

· Put the string into the schoolbag by keyword

· Save the schoolbag to the session

· Split the string into an array and return a Bag containing the array data)

· Delete a piece of data in the schoolbag (such as a data record returned by Esql or a node in xml)

· Save an xml bag to a file with a given name

· Chinese Word Segmentation

· Test

· Modify the schoolbag name

Usage:

<Bag id = Bag name [suffix = integer] [state] [act = save | split | del | 2words | verify] [gap = character] [rename = new Bag name] […]>
[<We name = key [type = double (or float) | int | letter | cn (jp) | name | XmlName | date | mail] [verify = value]> value </we>]
[String]
......
</Bag>

· Id: the name of the schoolbag to be operated. The system will retrieve the schoolbag Based on the name on the current page. A new schoolbag is required.

· Suffix: Subscript: the position of the list in the schoolbag. For example, if the schoolbag is returned by ESql, the subscript indicates the number of records currently in the schoolbag, the schoolbag that introduces the xml file indicates the number of subnodes. The default value is 0.

· State: whether to keep the schoolbag in the session. Reserved by default

· Act = save: save the xml file in the schoolbag to the file. The string between tags is the file name.

· Act = split (gap = str): splits the strings between tags into arrays based on the delimiter (gap = str), and returns the schoolbag containing the array information, keywords: id0, id1, id2 ......

· Act = del: delete a record in the schoolbag (current subscript location)

· Act = 2 words: Chinese Word Segmentation

· Rename = new schoolbag name: Modify the schoolbag name

· Act = verify: used together with the type or verify in the subtag to check whether the content matches the type.

Sub-Tag: the default operation is to put the string into the bag by keyword, in the format of [<we name = key> value </we>]

Download and description of light platform 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.