Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ropensci/xslt
Extension of xml2 package for xsl transformations
https://github.com/ropensci/xslt
r r-package rstats xml xslt
Last synced: 3 months ago
JSON representation
Extension of xml2 package for xsl transformations
- Host: GitHub
- URL: https://github.com/ropensci/xslt
- Owner: ropensci
- Created: 2016-12-13T12:58:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-04-24T15:52:31.000Z (7 months ago)
- Last Synced: 2024-06-11T16:12:40.365Z (5 months ago)
- Topics: r, r-package, rstats, xml, xslt
- Language: C++
- Homepage: https://docs.ropensci.org/xslt
- Size: 54.7 KB
- Stars: 27
- Watchers: 8
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xslt
> XSLT 1.0 Transformations
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/xslt)](http://cran.r-project.org/package=xslt)
[![CRAN RStudio mirror downloads](http://cranlogs.r-pkg.org/badges/xslt)](http://cran.r-project.org/web/packages/xslt/index.html)An extension for the 'xml2' package to transform XML documents by applying an XSL stylesheet.
## Usage
Basic example included with the package:
```r
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))
```