Module eval_function

Source

FunctionsΒ§

lang_matches πŸ”’
https://www.w3.org/TR/1999/REC-xpath-19991116/#function-lang
local_name πŸ”’
Returns e.g. β€œrect” for <svg:rect>
name πŸ”’
Returns e.g. β€œsvg:rect” for <svg:rect>
namespace_uri πŸ”’
Returns e.g. the SVG namespace URI for <svg:rect>
normalize_space πŸ”’
https://www.w3.org/TR/1999/REC-xpath-19991116/#function-normalize-space
string_value πŸ”’
Returns the text contents of the Node, or empty string if none.
substring πŸ”’
substring_after πŸ”’
If s2 is found inside s1, return everything after s2. Return all of s1 otherwise.
substring_before πŸ”’
If s2 is found inside s1, return everything before s2. Return all of s1 otherwise.