You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
258 B
13 lines
258 B
library(htmltidy)
|
|
|
|
# from ?xml2::read_xml
|
|
cd <- xml2::read_xml("http://www.xmlfiles.com/examples/cd_catalog.xml")
|
|
|
|
xml_tree_view(cd)
|
|
|
|
htmltools::browsable(
|
|
htmltools::tagList(
|
|
xml_tree_view(cd, width = "100%", height = "300px"),
|
|
xml_view(cd)
|
|
)
|
|
)
|
|
|