10.5 WML primary paragraph rules

10.5.4 Defaults for the paragraph rule elements

There is no TYPE default. Each paragraph rules must be assigned one of the three WebMaker paragraph types. The default attribute values and actions for each paragraph type are given below.

Heading

Level
No default. Must be specified.

NewNode
If present, the name of a previously defined NewNode must be specified.

Actions
The default is: write(*,heading(1,concatenate(number()," ",text()))); }

List

Level
No default. Must be specified.

Kind
If not present, the default is Kind Bullet.

Actions
If Kind Bullet or Kind Number is specified, the default is:

{ write(*,listitem(text())); }

If Kind Glossary is specified, the default is:

{
write(*,glossterm(text(current,1,1)));
write(*,glossdescription(text(current,2,*)));
}

Normal

Context
If not present, the paragraph is not within any of the three HTML environments.

Inlist
If not present, the paragraph is not part of a list item.

Actions
If Context Preformatted is not specified, the default is:

{ write(*,paragraph(text())); }

If Context Preformatted is specified, the default is:

{ write(*,text()); }


WebMaker User Guide - 27 SEP 1995

Generated with Harlequin WebMaker