Libxml2: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m →‎Description: code tag?
No edit summary
 
(34 intermediate revisions by 20 users not shown)
Line 1: Line 1:
{{lowercase}}
{{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]]
| developer = various people
| released = {{Start date and age|1999|09|23}}
| latest release version = {{wikidata|property|edit|reference|P348}}
| released = {{start date and age|1999|09|23}}
| latest release date = {{start date and age|{{wikidata|qualifier|mdy|P348|P577}}}}
| discontinued =
| latest release version =
| latest release date = <!-- {{Start date and age|YYYY|MM|DD|df=yes/no}} -->
| 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 = [[Unix-like]], Windows, CygWin, Mac OS, RISC OS, OS/2, VMS, QNX, MVS
| 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>
| platform =
| 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 [[PHP5]].{{Clarify|date=February 2014}} It can be accessed from the [[Perl|Perl programming language]] using the [[XML::LibXML]] module. It was originally developed for the [[GNOME]] project, but can be used outside it. The libXML code is highly portable,{{Citation needed|date=June 2014}} since it depends on standard ANSI C libraries only,{{Citation needed|date=June 2014}} and it is released under the [[MIT license]]. This library was written by Daniel Veillard and enjoys active feedback from its users.
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>[http://www.xmlsoft.org/html/libxml-HTMLparser.html HTMLparser]</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]]
* [[Saxon XSLT]] (competitor)
* [[Expat (library)]]
* [[Xalan]] (competitor)
* [[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:Free software programmed in C]]
[[Category:GNOME libraries]]
[[Category:GNOME libraries]]
[[Category:Software using the MIT license]]
[[Category:XML parsers]]
[[Category:XML parsers]]
[[Category:Free software programmed in C]]
[[Category:Software using the MIT license]]



{{compu-library-stub}}
{{Compu-library-stub}}
{{markup-languages-stub}}
{{GNOME-stub}}
{{GNOME-stub}}
{{Markup-languages-stub}}

Latest revision as of 05:21, 12 September 2023

libxml2
Original author(s)The GNOME Project
Initial releaseSeptember 23, 1999; 24 years ago (1999-09-23)
Stable release
2.12.7[1] Edit this on Wikidata / May 13, 2024; 1 day ago (May 13, 2024)
Repository
Written inC
Operating systemcross-platform[2]
TypeXML parser, XML validator
LicenseMIT License
Websitexmlsoft.org Edit this on Wikidata

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]

References[edit]

  1. ^ "libxml2 2.12.7 · GNOME / libxml2 · GitLab". Retrieved 14 May 2024.
  2. ^ "Introduction". 28 November 2017. Retrieved 25 March 2018.
  3. ^ "ch libxml2 open source binding".
  4. ^ "cl-libxml2 High-level wrapper around libxml2 and libxslt libraries".
  5. ^ "PHP: libxml - Manual". php.net. Retrieved 2016-05-16.
  6. ^ "Python and bindings". www.xmlsoft.org. Retrieved 2016-05-16.
  7. ^ "The XML C parser and toolkit of Gnome". www.xmlsoft.org. Retrieved 2016-05-16.
  8. ^ "Home · Wiki · GNOME / libxml2 · GitLab". GitLab. 2022-12-08. Retrieved 2023-06-26.
  9. ^ Veillard, Daniel. "HTMLparser: interface for an HTML 4.0 non-verifying parser". libxml2 Reference Manual. GNOME.

External links[edit]