XML::XPath::Function(3) User Contributed Perl Documentation XML::XPath::Function(3)

XML::XPath::Functions - implementations of XPath functions

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.

  • last()
  • position()
  • count()
  • id()
  • "local-name()"
  • name()
  • "namespace-uri()"

Functions On String Values

  • string()
  • concat()
  • substring()
  • "string-length()"
  • "normalize-space()"
  • translate()

Functions Based on Substring Matching

  • contains()
  • "starts-with()"
  • "substring-before()"
  • "substring-after()"

String Functions that Use Pattern Matching

matches()

  • boolean()
  • not()
  • true()
  • false()
  • lang()

  • number()
  • sum()
  • floor()
  • ceiling()
  • round()
2023-07-25 perl v5.38.0