---
name: "libxml"
section: "3"
platform: "macos"
package: "libxml2"
version: "39.10"
release: "macOS 26.5"
platforms: ["linux", "macos"]
url: "https://new.carta.tech/libxml"
---

# libxml(3)

library used to parse XML files

## NAME

libxml - library used to parse XML files

## DESCRIPTION

The *libxml* library is used to parse XML files.  Its internal document representation is as close as possible to the  *DOM* (Document Object Model) interface, an API for accessing XML or HTML structured documents.

The *libxml* library also has a  *SAX*-like interface,  which is designed to be compatible with  *expat*(1). NOTE: *SAX*, the Simple API for XML, is a standard interface for event-based XML parsing, developed collaboratively by the members of the XML-DEV mailing list,  currently hosted by OASIS. The *expat* library is a XML 1.0 parser written in C, which aims to be fully conforming.  It is currently not a validating XML processor.

The *libxml* library now includes a nearly complete  *XPath* implementation.  The *XPath* (XML Path Language) is a language for addressing parts of an  XML document, designed to be used by both  *XSLT* and  *XPointer*.

The *libxml* library exports Push and Pull type parser interfaces for both XML and  *html*.

## FILES

- **/depot/lib/libxml\_2.0.0/libxml.a**

  static library

- **/depot/lib/libxml\_2.0.0/libxml.so**

  shared library

- **/depot/package/libxml\_2.0.0/bin/xmllint**

  binary application for parsing XML files

## AUTHORS

Daniel Veillard (daniel@veillard.com). Red Hat Inc. Manual page by Ziying Sherwin (sherwin@nlm.nih.gov), Lister Hill National Center for Biomedical Communications, U.S. National Library of Medicine.

## SEE ALSO

[*xmllint*(1)](/xmllint/1.md), [*libxslt*(3)](/libxslt/3.md), [*libexslt*(3)](/libexslt/3.md), [*xsltproc*(1)](/xsltproc/1.md)
