From some of the examples I can see that there is an XML list type that can be created by toXmlLis() function. I haven't been able to find any documentation on how to declare this type of list. in a new list declaration I can see it referenced by using an invalid type, for example List:x()
Encountered "x (" at line 1, column 6.
Was expecting one of: "bool" ... ... "float" ... "xml" ... "string" ... "date" ... "(" ...
If I try to use List:xml() I get the following:
Error at line:1
Function :List:xml cannot be resolved
Is there a way to define an XML list directly? I am trying to have a function that returns an XML list, but I'm getting error if I define it as a pure list() return type