Okay, this doesn't get you quite all the way there, but maybe this helps
library(XML)
library(stringr)
namespaces=c(xmlns="http://www.xbrl.org/2008/inlineXBRL")
parse.html <- htmlTreeParse("~/Downloads/html1.html", useInternalNodes=TRUE)
tt <- xpathApply(parse.html, '//tr[@class="iris_table_row"]', namespaces=namespaces)
foo <- function(x){
vals <- sapply(xmlChildren(x), xmlValue)
str_trim(vals[names(vals) %in% "td" & sapply(vals, nchar)>0], "both")
}
rows <- lapply(tt, foo)
rows[170:175]
[[1]]
td
"%"
[[2]]
td td
"Class of shares:" "holding"
[[3]]
td td
"Ordinary" "100.00"
[[4]]
td td
"Page 5" "continued..."
[[5]]
td
"Whitton Park Estates Limited (Registered number: 00231549)"
[[6]]
td
"Notes to the Abbreviated Accounts - continued"