Splits input XHTML document, whether styled or semantic, into several pages and saves these pages to disk.
This step also generates a frameset and a table of contents used as the left frame of the frameset. While an obsolete HTML feature, a frameset makes it easy browsing the generated pages. Moreover the table of contents used as the left frame is a convenient way to programmatically list all the generated pages.
The result of the this step is the file containing the frameset.
For clarity, the “split.
” parameter name prefix is omitted here.
However when you’ll pass any of the following parameters to w2x
, please do not forget this prefix. Example: -p split.split-before-level 8
.
Parameters:
Name | Value | Description |
| A boolean: Default: | If specified as |
| A boolean: Default: | Specifies whether the save files should be indented. Do not specify indent=”true” in production. The XML indentation created this way being very simple, this may add whitespace inside elements where space characters are significant. |
| A file path. No default (required). | Specifies the path of the file containing the frameset. A relative file path is relative to the current working directory. This step always generates several files, all in the same directory as file This output directory is created on the fly if needed too. However, the output directory, if it already exists, is not automatically made empty.
|
| Outline level between 0 (e.g. style “Heading 1”) and 8 (e.g. style “Heading 9”). Default: 0 (split at “Heading 1”). | In order to generate multi-page styled HTML, that is, frameset, Web Help, EPUB, we need to automatically split the input XHTML document into pages. A new page is created each time a paragraph having an outline level less than or equal to specified An outline level is an integer between 0 (e.g. style “Heading 1”) and 8 (e.g. style “Heading 9”). The default value of parameter See also Important tip. |
| A boolean: Default: | By default, the save files of the generated pages have the same basename as In a MS-Word document, a heading is often given a bookmark. The Convert step translates this bookmark to an ID. When |