BSD Ports

textproc/p5-XML-XPathEngine 0.14_1 DragonFly

Re-usable XPath engine for DOM-like trees

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
perl5, textproc
Package size
31.0 KiB, 110.6 KiB installed

Description

This module provides an XPath engine, that can be re-used by other module/classes that implement trees.

In order to use the XPath engine, nodes in the user module need to mimick DOM nodes. The degree of similitude between the user tree and a DOM dictates how much of the XPath features can be used. A module implementing all of the DOM should be able to use this module very easily (you might need to add the cmp method on nodes in order to get ordered result sets).

This code is a more or less direct copy of the XML::XPath module by Matt Sergeant. I only removed the XML processing part to remove the dependency on XML::Parser, applied a couple of patches, renamed a whole lot of methods to make Pod::Coverage happy, and changed the docs.

In the other systems

SystemPortVersion
DragonFlytextproc/p5-XML-XPathEngine0.14_1
FreeBSDtextproc/p5-XML-XPathEngine0.14_1
OpenBSDtextproc/p5-XML-XPathEngine0.14p0
NetBSDtextproc/p5-XML-XPathEngine0.14nb13
MidnightBSDtextproc/p5-XML-XPathEngine0.14_1
HardenedBSDtextproc/p5-XML-XPathEngine0.14_1
GhostBSDtextproc/p5-XML-XPathEngine0.14_1

Install

Binary package:

pkg install p5-XML-XPathEngine

From DPorts:

cd /usr/dports/textproc/p5-XML-XPathEngine && make install clean

Dependencies

Run dependencies 1