toc: Extract Table of Contents of a document

Description Usage Arguments Value Author(s) References See Also

Description

This function and its methods allow us to query the document for its table of contents. These are the titles within chapter and section headings.

Usage

1

Arguments

file

the document whose table of contents is to be computed. This can be either the name of the document file, or and already parsed XML document (using xmlParse

.

...

additional parameters for methods to define

Value

An object of S3 class "HierarchicalTableOfContents", "TableOfContents". This is a list a factor giving the titles of the chapters, sections, etc. the indentation or nesting level of the corresponding elements in titles

Author(s)

Duncan Temple Lang duncan@wald.ucdavis.edu

References

Docbook reference manual

See Also

xmlParse, getNodeSet


omegahat/XDocTools documentation built on May 24, 2019, 1:57 p.m.