Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 824 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 824 Bytes

xslt

XSLT 1.0 Transformations

Project Status: Active – The project has reached a stable, usable state and is being actively developed. CRAN_Status_Badge CRAN RStudio mirror downloads

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))