Whitebeam Template Reference Documentation

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 Template Reference Documentation

System Template

attribute()

Find an XML attribute.

Syntax

string = rb.page.attribute(AttributeName)

Parameters

The 'attribute' method takes 1 parameter:

Name Type/Value Range/Length Description
AttributeNamestring  Required. The name of the XML attribute to fetch. The tag actual

Results

The 'attribute' method returns string:

Type/Value Range/Length Description
string  This function returns a named attribute from an XML tag.

Remarks

The method is primarily useful in the implementation of a Whitebeam <rb:macrotoag...> tag. Use in this scenario allows a presentation page to pass parameters to a macro tag written by a template provided (generally in an included library file).

Whitebeam release 1.3.36
(loadtime : 54ms)