|
Whitebeam Template Reference Documentation
|
XmlParser Template
loadSyntax()
Load a set of parsing rules.
Syntax
void = rb.XmlParser.loadSyntax(syntaxFile)
Parameters
The 'loadSyntax' method takes 1 parameter:
Name | Type/Value | Range/Length | Description | syntaxFile | string | | Required.
Reference to the file containing the XML syntax definition.
|
Results
The 'loadSyntax' method returns no useful information.
Remarks Apply a set of XML parsing rules for this parser. The rules describe the kind of document to
expect and allows the parser to do some of the validation associated with loading
an XML document. The rules are not a complete DTD but provide a set of allowed attributes and tags. By default the rules file is located in the virtual server file system. Optionally the
second parameter allows the application to specify that the file is located in the global system
area. The service provider
may have made standard definitions available for popular XML applications such as RSS. These
are placed in one read-only location by the administrator and can be loaded by multiple Whitebeam
applications. The syntax rules will be the subject of a separate tutorial in the near future! |
|
(loadtime : 39ms) |