Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

libxslt

From Wikipedia, the free encyclopedia
libxslt
Initial releaseSeptember 23, 1999; 25 years ago (1999-09-23)
Stable release
1.1.42[1] Edit this on Wikidata / 4 July 2024; 4 months ago (4 July 2024)
Repository
Written inC
Operating systemUnix-like, Windows, CygWin, Mac OS, AmigaOS, RISC OS, OS/2, VMS, QNX, MVS...
TypeXSLT
LicenseMIT License
Websitexmlsoft.org

libxslt is the XSLT C library developed for the GNOME project. It provides an implementation of XSLT 1.0, plus most of the EXSLT set of processor-portable extensions functions and some of Saxon's evaluate and expressions extensions. libxslt is based on libxml2, which it uses for XML parsing, tree manipulation and XPath support. It is free software released under the MIT License and can be reused in commercial applications.

libxslt can be used either as library embedded into an application, or via the xsltproc command line tool. The integration into applications is eased by a multitude of language bindings and wrappers. Being written in C, libxslt is a fast and low-resource processor.[2][3][4] This makes it a popular choice for DocBook formatting[5] and as standard XSLT processor for programming languages like PHP,[6] Perl[7] or Python.[8]

The WebKit layout engine (used e.g. in the Apple Safari web browser) uses the libxslt library to do XSL transformations.[9]

See also

[edit]

References

[edit]
  1. ^ "Releases · GNOME / libxslt · GitLab". Retrieved 6 August 2024.
  2. ^ libxslt Home Page: Introduction
  3. ^ Pashley, David .Benchmarking XSLT processors. No longer available online (2016).
  4. ^ DocBook XSL: The Complete Guide - 4th Edition: XSLT Processors
  5. ^ libxslt Home Page: DocBook
  6. ^ php.net: XSL functions
  7. ^ Perl bindings for libxslt
  8. ^ Python binding for the libxml2 and libxslt libraries Archived 2010-02-02 at the Wayback Machine
  9. ^ "The WebKit Open Source Project - XSLT". Retrieved 2009-10-25.
[edit]