get_styles: Extract only style tags and its children

Description Usage Arguments Value Examples

View source: R/get_nodes.R

Description

Peel off the styles tag from input xml_node object. style tags are contained under the styles tag.

Usage

1

Arguments

xml

xml_node object with styles tag as a root. See read_docx.

Value

xml_nodeset object which contains style tags.

Examples

1
2
3
4
## Not run: 
get_styles(xml)

## End(Not run)

niszet/stylex documentation built on Aug. 10, 2020, 12:51 p.m.