R/visualize.R

Defines functions print_style_tree print_style_strucre

# wrapper of xml_structure
print_style_strucre <- function(xml){
  utils::capture.output(xml2::xml_structure(xml))
}


# wrapper of data.tree
print_style_tree <- function(xml){
  data.tree::as.Node(xml)
}
niszet/stylex documentation built on Aug. 10, 2020, 12:51 p.m.