Libxml2: Difference between revisions
Content deleted Content added
m →Description: code tag? |
No edit summary |
||
(34 intermediate revisions by 20 users not shown) | |||
Line 1: | Line 1: | ||
{{ |
{{Lowercase}} |
||
{{redirect-distinguish|libXML|XML Library}} |
|||
{{Infobox software |
{{Infobox software |
||
| name = libxml2 |
| name = libxml2 |
||
| title = |
|||
| logo = <!-- Image name is enough --> |
|||
| logo caption = |
|||
| logo_size = |
|||
| logo_alt = |
|||
| screenshot = <!-- Image name is enough --> |
|||
| caption = |
|||
| screenshot_size = |
|||
| screenshot_alt = |
|||
| collapsible = |
|||
| author = [[The GNOME Project]] |
| author = [[The GNOME Project]] |
||
| |
| released = {{Start date and age|1999|09|23}} |
||
| latest release version = {{wikidata|property|edit|reference|P348}} |
|||
| released = {{start date and age|1999|09|23}} |
|||
⚫ | |||
| discontinued = |
|||
| latest release version = |
|||
⚫ | |||
| latest preview version = |
|||
| latest preview date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} --> |
|||
| frequently updated = yes |
|||
| status = |
|||
| programming language = [[C (programming language)|C]] |
| programming language = [[C (programming language)|C]] |
||
| operating system = [[ |
| operating system = [[cross-platform]]<ref>{{cite web|url=http://xmlsoft.org/intro.html|title=Introduction|access-date=25 March 2018|date=28 November 2017}}</ref> |
||
| |
| genre = [[XML]] parser, [[XML validation|XML validator]] |
||
| size = |
|||
| language = |
|||
| language count = <!-- DO NOT include this parameter unless you know what it does --> |
|||
| language footnote = |
|||
| genre = [[XML parser]] |
|||
| license = [[MIT License]] |
| license = [[MIT License]] |
||
| website = {{URL|http://xmlsoft.org/}} |
|||
}} |
}} |
||
'''libxml2''' is a [[software library]] for parsing [[XML]] documents. It is also the basis for the [[libxslt]] library which processes [[XSLT]]-1.0 stylesheets. |
'''libxml2''' is a [[software library]] for parsing [[XML]] documents. It is also the basis for the [[libxslt]] library which processes [[XSLT]]-1.0 stylesheets. |
||
==Description== |
== Description == |
||
Written in the [[C programming language]], libxml2 provides bindings to [[C++]], [[Ch interpreter|Ch]],<ref>{{cite web|url=http://chlibxml2.sourceforge.net/|title=ch libxml2 open source binding}}</ref> [[XSH]], [[C Sharp (programming language)|C#]], [[Python (programming language)|Python]], [[Kylix (software)|Kylix]]/[[Delphi programming language|Delphi]] and other [[Pascal (programming language)|Pascal]]s, [[Ruby (programming language)|Ruby]], [[Common Lisp]],<ref>{{cite web|url=http://code.google.com/p/cl-libxml2/|title=cl-libxml2 High-level wrapper around libxml2 and libxslt libraries}}</ref> and [[ |
Written in the [[C programming language]], libxml2 provides bindings to [[C++]], [[Ch interpreter|Ch]],<ref>{{cite web|url=http://chlibxml2.sourceforge.net/|title=ch libxml2 open source binding}}</ref> [[XSH (programming language)|XSH]], [[C Sharp (programming language)|C#]], [[Python (programming language)|Python]], [[Swift (programming language)|Swift]], [[Kylix (software)|Kylix]]/[[Delphi (programming language)|Delphi]] and other [[Pascal (programming language)|Pascal]]s, [[Ruby (programming language)|Ruby]], [[Perl]], [[Common Lisp]],<ref>{{cite web|url=http://code.google.com/p/cl-libxml2/|title=cl-libxml2 High-level wrapper around libxml2 and libxslt libraries}}</ref> and [[PHP]].<ref>{{Cite web|url=http://php.net/manual/en/book.libxml.php|title=PHP: libxml - Manual|website=php.net|access-date=2016-05-16}}</ref> It was originally developed for [[GNOME Project|the GNOME project]], but can be used outside it. libxml2's code is highly portable<ref>{{Cite web|url=http://www.xmlsoft.org/python.html|title=Python and bindings|website=www.xmlsoft.org|access-date=2016-05-16}}</ref> since it only depends on standard [[ANSI C]] libraries<ref>{{Cite web|url=http://www.xmlsoft.org/xml.html|title=The XML C parser and toolkit of Gnome|website=www.xmlsoft.org|access-date=2016-05-16}}</ref> and it is available under the [[MIT license]].<ref>{{Cite web |date=2022-12-08 |title=Home · Wiki · GNOME / libxml2 · GitLab |url=https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home |access-date=2023-06-26 |website=GitLab |language=en}}</ref> |
||
It includes the [[command-line utility]] '''xmllint''' and an [[HTML]] parser.<ref> |
It includes the [[command-line utility]] '''xmllint''' and an [[HTML]] parser.<ref>{{cite web |last1=Veillard |first1=Daniel |title=HTMLparser: interface for an HTML 4.0 non-verifying parser |url=https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-HTMLparser.html |website=libxml2 Reference Manual |publisher=GNOME}}</ref> |
||
== See also == |
== See also == |
||
{{Portal|Free software}} |
{{Portal|Free and open-source software}} |
||
* [[libxslt]] (the LibXML2's [[XSLT]] module) |
* [[libxslt]] (the LibXML2's [[XSLT]] module) |
||
* [[XML validation]] |
* [[XML validation]] |
||
* [[Comparison of HTML parsers]] |
* [[Comparison of HTML parsers]] |
||
* [[ |
* [[Expat (library)]] |
||
* [[ |
* [[Saxon XSLT]] |
||
* [[Apache Xerces|Xerces]] |
|||
== References == |
== References == |
||
Line 52: | Line 32: | ||
== External links == |
== External links == |
||
* {{Official website}} |
|||
* [http://xmlsoft.org/ LibXML Home Page] |
|||
* [http://metacpan.org/module/XML::LibXML/ XML::LibXML Perl module] |
* [http://metacpan.org/module/XML::LibXML/ XML::LibXML Perl module] |
||
{{GNOME}} |
{{GNOME}} |
||
[[Category:C libraries]] |
[[Category:C (programming language) libraries]] |
||
⚫ | |||
[[Category:GNOME libraries]] |
[[Category:GNOME libraries]] |
||
⚫ | |||
[[Category:XML parsers]] |
[[Category:XML parsers]] |
||
⚫ | |||
⚫ | |||
{{ |
{{Compu-library-stub}} |
||
⚫ | |||
{{GNOME-stub}} |
{{GNOME-stub}} |
||
⚫ |
Latest revision as of 05:21, 12 September 2023
Original author(s) | The GNOME Project |
---|---|
Initial release | September 23, 1999 |
Stable release | 2.12.7[1]
/ May 13, 2024 |
Repository | |
Written in | C |
Operating system | cross-platform[2] |
Type | XML parser, XML validator |
License | MIT License |
Website | xmlsoft |
libxml2 is a software library for parsing XML documents. It is also the basis for the libxslt library which processes XSLT-1.0 stylesheets.
Description[edit]
Written in the C programming language, libxml2 provides bindings to C++, Ch,[3] XSH, C#, Python, Swift, Kylix/Delphi and other Pascals, Ruby, Perl, Common Lisp,[4] and PHP.[5] It was originally developed for the GNOME project, but can be used outside it. libxml2's code is highly portable[6] since it only depends on standard ANSI C libraries[7] and it is available under the MIT license.[8]
It includes the command-line utility xmllint and an HTML parser.[9]
See also[edit]
- libxslt (the LibXML2's XSLT module)
- XML validation
- Comparison of HTML parsers
- Expat (library)
- Saxon XSLT
- Xerces
References[edit]
- ^ "libxml2 2.12.7 · GNOME / libxml2 · GitLab". Retrieved 14 May 2024.
- ^ "Introduction". 28 November 2017. Retrieved 25 March 2018.
- ^ "ch libxml2 open source binding".
- ^ "cl-libxml2 High-level wrapper around libxml2 and libxslt libraries".
- ^ "PHP: libxml - Manual". php.net. Retrieved 2016-05-16.
- ^ "Python and bindings". www.xmlsoft.org. Retrieved 2016-05-16.
- ^ "The XML C parser and toolkit of Gnome". www.xmlsoft.org. Retrieved 2016-05-16.
- ^ "Home · Wiki · GNOME / libxml2 · GitLab". GitLab. 2022-12-08. Retrieved 2023-06-26.
- ^ Veillard, Daniel. "HTMLparser: interface for an HTML 4.0 non-verifying parser". libxml2 Reference Manual. GNOME.