BEE Script: xmlparse string [xml=class] [index=class];
BEE Tag: <beexmlparse string [xml=class] [index=class]>
The "xmlparse" command parse the XML document contained in the string and create an XML class variable and an optional index class variable. These two variables should not be accessed directly. They should be passed to an XML object which encapsulate the XML operation.
In fact, the "xmlparse" command itself should not be directly accessed as well. The constructor of the XML object (contained in "common/xml.bs") will parse the XML document for you.
Parameters
xml specifies the name of the "xml" class, which contains in each variable an XML construct, such as XML tag, element and CDATA. The elements of such variable is the meta data and attribute of the XML construct. The default of the "xml" parameter is "xml".
index specifies the name of the "index" class, of which each variable correspond to an XML tag. The name is the XML tag name, and the elements are keys that can be used to address the "xml" class as variable name for all occurrence of the XML tag. (The "index" class is optional.)
|