xmltools
xmltools copied to clipboard
paths with ****
I am trying to use xmltools, but I get stuck when I run xml_get_paths, because it gives me /// doc <- read_xml("ExportedResults.xls") nodesets <- doc %>% xml2::xml_children() nodesets[5] %>% xml_view_trees() nodesets[5] %>% xml_get_paths() %>% unlist() %>% unique()
I am trying to get dataframe using xpath: Worksheet/Table/Row/Cell/Data