Scalar. Converts a string into an XML value.
xmlparse ( string )
value | The XML value represented as a string. |
Converts a string into an XML value. The function takes a string as its argument, and returns an XML value. Since there is no XML data type, the value returned from this function can only be used as input to other functions expecting XML as input, such as xmlserialize().
xmlserialize ( xmlparse ('<t/>') ) returns '<t/>'. The string gets converted into an XML value, then back into a string.