XSLT

A Julia wrapper to libxslt to apply a stylesheet to an XML file

https://github.com/vezy/xslt.jl

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
Last synced: 10 months ago · JSON representation ·

Repository

A Julia wrapper to libxslt to apply a stylesheet to an XML file

Basic Info
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created over 3 years ago · Last pushed over 3 years ago
Metadata Files
Readme License Citation

README.md

XSLT

Stable Dev Build Status

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

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

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 21
  • Total Committers: 1
  • Avg Commits per committer: 21.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 21
  • Committers: 1
  • Avg Commits per committer: 21.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Rémi Vezy V****Y 21

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

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 9.9%
Dependent packages count: 38.9%
Average: 43.9%
Forks count: 53.5%
Stargazers count: 73.2%
Last synced: 11 months ago

Dependencies

.github/workflows/CI.yml actions
  • 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
.github/workflows/TagBot.yml actions
  • JuliaRegistries/TagBot v1 composite
.github/workflows/register.yml actions
  • julia-actions/RegisterAction latest composite