Help language development. Donate to The Perl Foundation

LibXML cpan:WARRINGD last updated on 2019-11-07

LibXML-0.1.9/

Build Status

NAME

LibXML - Perl 6 bindings to the libxml2 native library

SYNOPSIS

use LibXML::Document;
my LibXML::Document $doc .=  parse: :string('<Hello/>');
$doc.root.nodeValue = 'World!';
say $doc.Str;
# <?xml version="1.0" encoding="UTF-8"?>
# <Hello>World!</Hello>
say $doc<Hello>

my Version $library-version = LibXML.version;
my Version $module-version = LibXML.^ver;

DESCRIPTION

This module is an interface to libxml2, providing XML and HTML parsers with DOM, SAX and XMLReader interfaces, a large subset of DOM Layer 3 interface and a XML::XPath-like interface to XPath API of libxml2.

For further information, please check the following documentation:

DOM Objects

The nodes in the Document Object Model (DOM) are represented by the following classes (most of which "inherit" from LibXML::Node ):

Container/Mapping classes

Parsing

XPath and Searching

Validation

Other

PREREQUISITES

This module requires the libxml2 library to be installed. Please follow the instructions below based on your platform:

Debian Linux

sudo apt-get install libxml2-dev

Mac OS X

brew update
brew install libxml2

ACKNOWLEDGEMENTS

This Raku module:

With thanks to: Christian Glahn, Ilya Martynov, Matt Sergeant, Petr Pajas, Shlomi Fish, Toby Inkster, Tobias Leich, Xliff.

VERSION

0.1.9

COPYRIGHT

2001-2007, AxKit.com Ltd.

2002-2006, Christian Glahn.

2006-2009, Petr Pajas.

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.