isolate_elements: Isolate elements in an XML document by source position

View source: R/isolate_elements.R

isolate_elementsR Documentation

Isolate elements in an XML document by source position

Description

Isolate elements in an XML document by source position

Usage

isolate_elements(body, ...)

Arguments

body

an XML document

...

objects of class xml_node or xml_nodeset to be retained

Value

This works by side-effect, but it returns the body, invisibly.


carpentries/pegboard documentation built on Feb. 26, 2025, 11:18 a.m.