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

XmlTag.mark()

Mark the XmlTag with a specific name.

Syntax

void = XmlTag.mark(tagId)

Parameters

The 'XmlTag.mark' method takes 1 parameter:

Name Type/Value Range/Length Description
tagIdstring  Required. The string name by which the element is to be identified.

Results

The 'XmlTag.mark' method returns no useful information.

Remarks

You invoke this method on an XML tag to set it's ID. The call is the equivalent in Whitebeam tags of having an 'rb:id' attribute. The element thus marked may subsequently be located using the XmlTag.findId() method.

The Whitebeam environment does NOT prevent multiple XML tags from having the same public ID. This is slightly at odds with the format XML specs that say thou shalt NOT have more than one node with a specific ID.

Whitebeam release 1.3.36
(loadtime : 25ms)