Whitebeam Object Definition

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Object Definition

Method Description

XmlParser.loadSyntax()

Load a set of parsing rules.

Syntax

void = XmlParser.loadSyntax(syntaxFile)

Parameters

The 'XmlParser.loadSyntax' method takes 1 parameter:

Name Type/Value Range/Length Description
syntaxFilestring  Required. Reference to the file containing the XML syntax definition.

Results

The 'XmlParser.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!

Whitebeam release 1.3.36
(loadtime : 12ms)