XSLT 1.0 Transformations
An extension for the ‘xml2’ package to transform XML documents by applying an XSL stylesheet.
Usage
Basic example included with the package:
doc <- read_xml(system.file("examples/cd_catalog.xml", package = "xslt"))
style <- read_xml(system.file("examples/cd_catalog.xsl", package = "xslt"))
html <- xml_xslt(doc, style)
cat(as.character(html))