Definition of Whitebeam XML Tags

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
    authenticate
    block
    cachecontrol
    eval
    false
    header
    include
    insertblock
    insertdebug
    macrotag
    marksession
    nomacro
    noscript
    parser
    redirect
    repeatfor
    return
    script
    if
    test
    true
    xmp
    eval
    id
    marksession
    test
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Definition of Whitebeam XML Tags

rb:parser

Control the behaviour of the page parser.

Body

The rb:parser body is empty.

Attributes

Attribute Required Description

whitespace

implied

If set to 'no' the parser will discard all XML text elements that contain only whitespace.

comments

implied

If set to 'no' the parser will discard all XML comment elements.

declarations

implied

If set to 'no' the parser will discard all XML declarations.

proc-inst

implied

If set to 'no' the parser will discard all XML processing instructions (<?...?>).

parsemode

implied

A choice from 'html', 'xml' or 'hybrid'. This sets the basic behaviour for the rest of the document parsing.

debugmode

implied

Set this to 'yes' to put the Presentation Engine into debug mode - even on a live site. Normally errors are handled differently (silently dropped often) on the live site. While most bugs can be removed using the test site there are occassions when errors occur with specific data only available in the live data. Set the mode to get error reports on the live site. This is the equivalent of calling rb.debug.mode - except it is executed earlier as this tag is parsed.

Remarks

The Whitebeam Presentation Engine uses an XML parser to build an internal representation of the XML tree for a Pattern Page. Generally this parser is automatically configured for the page being loaded. This function allows the page to control some of the features of the parser before it builds the subsequent elements of a page. The directive is effective until either the end of the page or another directive is encountered.

Each of the attributes takes a value of either "yes" or "no".

This directive affects all XML parser currently in use and any parsers derived from it - for example including that used for rb:include.
Whitebeam release 1.3.36
(loadtime : 19ms)