Published on InterSystems Developer Community (https://community.intersystems.com)

Home > turn-key export of data for XML-enabled class?

Question
Jon Willeke · Mar 18, 2016

turn-key export of data for XML-enabled class?

An XML-enabled class has an XMLExport() method that knows how to serialize an instance to XML. To export all instances of a class to a file, I need to instantiate a writer and loop through the extent. Is there no class method like XMLExportToFile() that does this in one go?

#Object Data Model #Caché

Source URL:https://community.intersystems.com/post/turn-key-export-data-xml-enabled-class