On 17.02.23 23:24, Nikolay Samokhvalov wrote:
>
> My idea was to follow the SQL standard (part 14, SQL/XML);
> unfortunately, there is no free version, but there are drafts at
> http://www.wiscorp.com/SQLStandards.html
> <http://www.wiscorp.com/SQLStandards.html>.
>
> <XML character string serialization> ::= XMLSERIALIZE <left paren> [
> <document or content> ]
>
> <XML value expression> AS <data type> [ <XML serialize bom> ] [ <XML
> serialize version> ] [ <XML declaration option> ]
>
> [ <XML serialize indent> ] <right paren>
>
> <XML serialize indent> ::= [ NO ] INDENT
Good find. It would be better to use this standard syntax.