DOKK / manpages / debian 11 / libtest-html-content-perl / Test::HTML::Content::XPathExtensions.3pm.en
Test::HTML::Content::XPathExtensions(3pm) User Contributed Perl Documentation Test::HTML::Content::XPathExtensions(3pm)

Test::HTML::Content::XPathExtensions - Perlish XPath extensions

  # This module patches the XML::XPath::Function namespace
  use Test::HTML::Content::XPathExtensions;

This is the module that provides RE support for XML::XPath and support for matching comments through the two functions "matches" and "comment".

The two functions are modeled after what I found on the Saxon website on the "fn:" namespace :

  • http://saxon.sourceforge.net/saxon7.3.1/functions.html
  • http://www.w3.org/TR/xquery-operators/

EXPORT

Nothing. It stomps over the XML::XPath::Function namespace.

This code may be distributed under the same terms as Perl itself.

Max Maischein, corion@cpan.org

XML::XPath

2018-04-02 perl v5.26.1