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 :

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

2023-07-29 perl v5.36.0