BSD Ports

textproc/p5-XML-XPathEngine 0.14_1 MidnightBSD

Re-usable XPath engine for DOM-like trees

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
textproc, perl5

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
MidnightBSDtextproc/p5-XML-XPathEngine0.14_1
FreeBSDtextproc/p5-XML-XPathEngine0.14_1
OpenBSDtextproc/p5-XML-XPathEngine0.14p0
NetBSDtextproc/p5-XML-XPathEngine0.14nb13
DragonFlytextproc/p5-XML-XPathEngine0.14_1
HardenedBSDtextproc/p5-XML-XPathEngine0.14_1
GhostBSDtextproc/p5-XML-XPathEngine0.14_1

Install

Binary package:

mport install p5-XML-XPathEngine

From mports:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-XML-XPathEngine>0:textproc/p5-XML-XPathEngine

Dependencies

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 16
  • %%PERL5_MAN3%%/XML::XPathEngine.3.gz
  • %%PERL5_MAN3%%/XML::XPathEngine::Boolean.3.gz
  • %%PERL5_MAN3%%/XML::XPathEngine::Literal.3.gz
  • %%PERL5_MAN3%%/XML::XPathEngine::NodeSet.3.gz
  • %%PERL5_MAN3%%/XML::XPathEngine::Number.3.gz
  • %%SITE_PERL%%/XML/XPathEngine.pm
  • %%SITE_PERL%%/XML/XPathEngine/Boolean.pm
  • %%SITE_PERL%%/XML/XPathEngine/Expr.pm
  • %%SITE_PERL%%/XML/XPathEngine/Function.pm
  • %%SITE_PERL%%/XML/XPathEngine/Literal.pm
  • %%SITE_PERL%%/XML/XPathEngine/LocationPath.pm
  • %%SITE_PERL%%/XML/XPathEngine/NodeSet.pm
  • %%SITE_PERL%%/XML/XPathEngine/Number.pm
  • %%SITE_PERL%%/XML/XPathEngine/Root.pm
  • %%SITE_PERL%%/XML/XPathEngine/Step.pm
  • %%SITE_PERL%%/XML/XPathEngine/Variable.pm
distinfo 1
FileSizeSHA256
XML-XPathEngine-0.14.tar.gz26118d2fe7bcbbd0beba1444f4a733401e7b8aa5282fad4266d42735dd74582b2e264
Master sites 1
  • CPAN