XML::XPath::Function(3) User Contributed Perl Documentation NAME XML::XPath::Functions - implementations of XPath functions DESCRIPTION XPath 1.0 and some later functions are supported. Note that functions that take regular expressions use Perl-syntax REs, not the language described in the XPath spec. FUNCTIONS NODESET FUNCTIONS o last() o position() o count() o id() o "local-name()" o name() o "namespace-uri()" STRING FUNCTIONS Functions On String Values o string() o concat() o substring() o "string-length()" o "normalize-space()" o translate() Functions Based on Substring Matching o contains() o "starts-with()" o "substring-before()" o "substring-after()" String Functions that Use Pattern Matching o matches() BOOLEAN FUNCTIONS o boolean() o not() o true() o false() o lang() NUMBER FUNCTIONS o number() o sum() o floor() o ceiling() o round() perl v5.42.0 2025-12-14 XML::XPath::Function(3)