My function is returning XML, so i do:
return xml.blah.blah.blah
It tells me it can't convert XMLList to XML
so i'm guessing xml.blah.blah.blah is a XMLList.
How can i do this (convert XMLList to XML)? the simpliest way possible?
You should be able to just cast the XMLList to XML.
Either:
XML(xml.blah.blah)
or
(xml.blah.blah as XML)