Read / Write XML files (automation data types)

I need : - a sample code that reads a simple XML file. - a sample code that writes a simple XML file. I found something in CodeUnits 622? but it is not clear how do we initiate/use an XMLdocIn Any explanation ? Thanks

There are a few examples here in the forum. Use the search function