
10.4 WML node rules
TITLE for the entry page because:The topmost heading of the FrameMaker document (that is, the title of the printed document) may not be the first paragraph of the document.
The FrameMaker document may not necessarily contain a topmost heading.
TITLE, WebMaker requires the following:
FirstPage is reserved for the node that describes the entry page. If no NODE FirstPage is defined, a default one is created by WebMaker.
TYPE Normal, as shown in the following example.
TITLE of the entry page is specified on the command line with the -t switch:
webmaker ... -t "The Title of the first page" ...This string may be accessed in the configuration by calling the predefined function:
maintitle()The following excerpt from a WML configuration file describes an entry page for a generated web and the conversion rules for the paragraph of the topmost heading.
NODE FirstPage
{
TITLE maintitle()
HEADER
{
@NavigationPanel=concatenate(button("[Next] ",filename(next)));
write(*,paragraph(@NavigationPanel));
}
FOOTER
{
write(*,heading(2,"Table of contents"));
write(*,toc(1));
write(*,hrule());
write(*,address(concatenate("MR - ",date())));
write(*,paragraph(@NavigationPanel));
}
}
PARAGRAPH "Title" TYPE Normal
{
ACTIONS {
write(*,heading(1,text()));
write(*,hrule());
}
}

Generated with Harlequin WebMaker