XML::XP...unction(3)

πŸŽ€ NAME πŸŽ€

XML::XPath::Functions β€” the actual implementations of XPath functions, bestie. like, the real ones. the code behind the vibes. πŸ’–


✨ DESCRIPTION ✨

okay so here's the tea: XPath 1.0 functions are supported, plus some later functions too. we're generous like that. 🫢

⚠️ but listen β€” functions that take regular expressions use Perl-syntax REs, NOT the language described in the XPath spec. that's a whole different flavor of regex, no cap. don't come for me if you wrote an XPath-spec regex and it went πŸ’€.

πŸ’… FUNCTIONS πŸ’…

🌸 NODESET FUNCTIONS 🌸

the node girlies. they live in nodeset land. πŸ¦‹

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

🌈 STRING FUNCTIONS 🌈

πŸŽ€ 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 FUNCTIONS πŸ‘‘

true or false bestie, no in-between, that's the whole personality. ✨

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

πŸ”₯ NUMBER FUNCTIONS πŸ”₯

math but make it cunty. πŸ’…

  • number()
  • sum()
  • floor()
  • ceiling()
  • round()

okay that's the whole page, you ate it, periodt. πŸ’– this one's from perl v5.42.1, dated 2026-04-21, and it's XML::XPath::Functions(3) β€” mwah, slay, go call some functions. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from