getEmptyLinks: Find Docbook links that are not valid

Description Usage Arguments Value

View source: R/ids.R

Description

These functions find hyper-links within the Docbook document that are either empty in that they have no or an empty url attribute, or that have the wrong attribute, e.g. href.

Usage

1
2
3

Arguments

doc

the XML document to be processed. This can be either the file name (or URL) or the already parsed XML document returned from xmlParse .

Value

a list of the ulink nodes that are considered incomplete or malformed. This is an object of class NodeSet.


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