Quote:

I'd like more comments regarding whether to return the XML as a string vs. an object




It should be an object. Your UDF is a "Load and Parse" udf, not a "Load, Parse and extract the text representation" UDF

More importantly, you will need the object to use things like $oXML.save("path") or getNamedItem or whatever in your other wrapper UDFs.