Skip to contents

print pugi_xml

Usage

# S3 method for pugi_xml
print(x, indent = " ", raw = FALSE, attr_indent = FALSE, ...)

Arguments

x

something to print

indent

indent used default is " "

raw

print as raw text

attr_indent

print attributes indented on new line

...

to please check

Examples

  # a pointer
  x <- read_xml("<a><b/></a>")
  print(x)
#> <a>
#>  <b />
#> </a>
  print(x, raw = TRUE)
#> <a><b/></a>