pub fn collect_text_value(xpath_value: &XPathResult) -> String
Collects a single text value from an XPath result.