Good monday to all my fellow coders
I have a config XML and I’d like to pass a node (and all it’s child nodes) to a function.
I’m trying
function myFunction(xml:Array)
and
function myFunction(xml:XMLList)
but I always get: Type Coercion failed: cannot convert XML@1cee3da1 element… bla bla bla
So… how can I pass a piece of xml to a function and then use that to do something?
Regards
Pier