Name:
Location: Columbus, Ohio, United States

Wednesday, January 05, 2005

Tag types

GRML uses form tags and view tags. The form tags create the input controls in a viewer (viewers display content from GRML files or web pages). The view tags create columns and results. Every tag supports a name.

For form tags, the name is used to associate a value to the input control when sending a request. When it is a view tag, the name is used to create a dimension (i.e. group) of columns and results. While a name is required for form tags, it is optional for view tags.

When GRML reads a line, the tag is read first. All tags use a parent-child relationship to specify values. The parent tag defines the type of tag, whether input control, column or result. Each child tag sets the attributes. Parent tags have closing tags and may use a name. Child tags do not have closing tags and do not use a name.

All tags reside on one line. Once the end of the line is reached, the next tag is read. Once a parent tag is read, everything else on that line is ignored. Child tags are read using an value pair. Once the carriage-return or line-feed is reached, the attribute value is set and the next tag is read.

GRML Blog Browser
GRML Blog Browser
GRML Blog Browser
GRML Blog Browser

GRML Blog Browser
GRML Blog Browser
GRML Blog Browser
GRML Blog Browser

GRML Blog Browser
GRML Blog Browser
GRML Blog Browser
GRML Blog Browser

0 Comments:

Post a Comment

<< Home