Skip to contents

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.