attrib

Name

attrib -- Sheet attribute

Synopsis

Content Model
attrib ::=
(#PCDATA |ref)*
Attributes

Name

Type

Default

typeCDATARequired
aidNMTOKENRequired
valueCDATANone
textCDATANone

Description

Under redesign: The entire sheet processing is begin redesigned.

The attrib is used in the sheet tags to contain information about a specific attribute of the story element. A set of attributes will build up a sheet.

Processing expectations

See sheet for more information

Attributes

type

Represents the attribute group to which this attributes belong. Typical examples include: attributes (strength, dexterity), skills(fighting,shooting,driving), among others.

aid

This is the Attribute Identifier and is used to identify the attribute. Conceptually the type and aid pair should be unique to each sheet. This is not enforced on the SGML processor though.

value

This will represent a numeric or textual value for the attribute. It is also possible to give text to an attribute as it content.

text

This is an overide for the name normaly generates by the type and aid pair.

See Also

sheet

Examples

Attribute processing is based on the system that the story is based on. This means that each attribute may be handled in a different form. A typical example is the following:

<attrib type="skill" aid="melee" value="+3">Swords</attrib>

This could be used to proceduce a text like: Melee(Swords) +3.

Another example shows some additional power of the StorySGML system. An attribute may refer to a story element. We use this example:

<attrib type="background" aid="master"><ref id="P01"></attrib>

This could produce an output such as: Master: Thomas.

For examples, see sheet.