XSLT
A Julia wrapper to libxslt to apply a stylesheet to an XML file
Science Score: 18.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.2%) to scientific vocabulary
Repository
A Julia wrapper to libxslt to apply a stylesheet to an XML file
Basic Info
- Host: GitHub
- Owner: VEZY
- License: mit
- Language: Julia
- Default Branch: main
- Homepage: https://vezy.github.io/XSLT.jl/
- Size: 154 KB
Statistics
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
XSLT
Transform XML documents to any other document type using XSLT stylesheets.
This is a Julia wrapper for the libxslt library.
XSLT.jl is fully compatible with EzXML.jl and LightXML.jl, so you can use it to transform XML documents to HTML, JSON, etc...
Installation
The package can be installed with the Julia package manager. From the Julia REPL, type ] to enter the Pkg REPL mode and run:
julia
pkg> add XSLT
Or, equivalently, via the Pkg API:
julia
julia> import Pkg; Pkg.add("XSLT")
Example usage: transform XML to HTML
Using file paths directly (no further dependency)
```julia julia> using XSLT
julia> xmlfile = joinpath(dirname(pathof(XSLT)), "..", "test", "files", "cdcatalog.xml") julia> xsltfile = joinpath(dirname(pathof(XSLT)), "..", "test", "files", "cdcatalog.xsl")
julia> xmlxslt(xmlfile, xslt_file) ```
Using document pointers (no further dependency either)
```julia julia> using XSLT
julia> xml = readxml(joinpath(dirname(pathof(XSLT)), "..", "test", "files", "cdcatalog.xml")) julia> xslt = readstylesheet(joinpath(dirname(pathof(XSLT)), "..", "test", "files", "cdcatalog.xsl"))
julia> xml_xslt(xml, xslt) ```
Using EzXML
```julia julia> using XSLT, EzXML
julia> xml = readxml(xml_file)
julia> xmlxslt(xml, xsltfile) |> parsehtml ```
Using LigthXML
```julia julia> using XSLT, LightXML
julia> xml = parsefile(xmlfile)
julia> xmlxslt(xml, xsltfile) ```
Similar projects
- libxslt - the C library used by this package
- xslt R package, from the rOpenSci organization, from which the API name is inspired
- The different official bindings in other languages:
Owner
- Name: Rémi Vezy
- Login: VEZY
- Kind: user
- Location: Montpellier
- Company: CIRAD
- Website: https://www.remivezy.com/
- Twitter: VezyRemi
- Repositories: 44
- Profile: https://github.com/VEZY
I am a researcher in plant modelling at the AMAP lab in CIRAD.
Citation (CITATION.bib)
@misc{XSLT.jl,
author = {Rémi Vezy <VEZY@users.noreply.github.com> and contributors},
title = {XSLT.jl},
url = {https://github.com/VEZY/XSLT.jl},
version = {v0.1.0},
year = {2023},
month = {1}
}
GitHub Events
Total
- Watch event: 1
- Fork event: 1
Last Year
- Watch event: 1
- Fork event: 1
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 2
- Total pull requests: 0
- Average time to close issues: 1 day
- Average time to close pull requests: N/A
- Total issue authors: 2
- Total pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- VEZY (1)
- JuliaTagBot (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 1
juliahub.com: XSLT
A Julia wrapper to libxslt to apply a stylesheet to an XML file
- Homepage: https://vezy.github.io/XSLT.jl/
- Documentation: https://docs.juliahub.com/General/XSLT/stable/
- License: MIT
-
Latest release: 0.1.0
published over 3 years ago
Rankings
Dependencies
- actions/checkout v2 composite
- julia-actions/cache v1 composite
- julia-actions/julia-buildpkg v1 composite
- julia-actions/julia-docdeploy v1 composite
- julia-actions/julia-runtest v1 composite
- julia-actions/setup-julia v1 composite
- JuliaRegistries/TagBot v1 composite
- julia-actions/RegisterAction latest composite