Skip to main content

atomize_to_string

Function atomize_to_string 

Source
pub fn atomize_to_string<N: DomNavigator>(
    value: XPathValue<N>,
) -> Result<String, XPathError>
Expand description

Atomize a value and convert to string.

This handles:

  • Empty value -> empty string
  • Single item -> atomized string value
  • Sequence -> error (XPTY0004)