Save XML files

You can perform any modifications on a resource, for example adding or deleting elements.

However, the XBrowser Engine 3.0 makes these modifications to the resource only.

If you want to transfer changes to the XML file, you have to explicitly save the changes.

Use the Module Save XML file to save changes.

This Module is part of the Standard subset. You can find it under Standard modules->TBox XEngines->XML.

In this example, you save the content of the resource xmlResource to the file books.xml. This file is located at C:\Temp.

You use a byte order mark (BOM) at the beginning of the XML file.

Save an XML file