getBibRefs: Get references to bibliography or simple cross references

Description Usage Arguments

View source: R/ids.R

Description

These functions allow one to query all the reference to other elements of a document or the bibliography. This is different from getLinks which identifies the links to other documents.

Usage

1
2
3
getBibRefs(doc, nodes = TRUE)

getXRefs(doc, location = FALSE)

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 .

nodes

a logical value indicating whether we should return the XML include nodes, or the names of the files. This is useful if one wants to modify the nodes or get the xpointer attribute.

location

a logical value indicating whether we want the file and line number or just the names of the ids and references that mismatch


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