Learn R Programming

rvest (version 0.2.0)

xml_structure: Show the structure of an html/xml document.

Description

Show the structure of an html/xml document without displaying any of the values. This is useful if you want to get a high level view of the way a document is organised.

Usage

xml_structure(x, indent = 0)

Arguments

x
HTML/XML document (or part there of)
indent
Number of spaces to ident