xml-escaped-to-text
text →
xml-escaped-to-text() → text
Returns text by decoding XML character data without requiring a containing element. Returns null for malformed input and preserves null, empty, and blank inputs.
Parameters
This function has no parameters.
Behavior
Decodes one layer of the five predefined XML entities and valid decimal or hexadecimal numeric character references. Markup, document type declarations, unknown entities, and invalid XML characters are rejected.
Examples
"A & B < C" | xml-escaped-to-text → "A & B < C"
Kind: Function
Scope: text/encoding
Aliases: None