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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-09-09T17:49:43.000Z (5 months ago)
- Last Synced: 2024-09-09T21:57:52.745Z (5 months ago)
- Topics: r, r-package, rstats, xml, xslt
- Language: C++
- Homepage: https://docs.ropensci.org/xslt
- Size: 56.6 KB
- Stars: 27
- Watchers: 8
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS
Awesome Lists containing this project
- jimsghstars - ropensci/xslt - Extension of xml2 package for xsl transformations (C++)
README
# xslt
> XSLT 1.0 Transformations
[](https://www.repostatus.org/)
[](http://cran.r-project.org/package=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))
```