I talked to Jose in MSN today about this topic, but for everyone's edification...

Because there is no one way to store data in an XML file I don't think you can adequately write a UDF to service the needs of everyone. The needs are generally too specific. Basically, my thought was to use fnLoadXML() to open the XML document as an object which would then be manipulated by the coder as they saw fit for their specific needs.

That said, perhaps the only generic functions that would be useful to a general audience would be LoadXML, Save, and possibly ParseError.

Once again, additional comments, thoughts, and opinions would be helpful.