Importing and exporting XML content

Use the XML import and export features to separate the editable regions from locked regions in documents using templates or to merge the editable regions of a document with an existing template. This allows you to export editable content and modify it, or to develop content outside of Dreamweaver.

To export a document's editable regions as XML:

1 Choose File > Open, then open a document that uses a template (and has editable regions).
2 Choose File > Export > Export Editable Regions as XML.
3 In the XML dialog box that appears, choose a tag notation and click OK.
For information about tag notations, see About XML tag notations.
4 In the dialog box that appears, enter a name for the XML file and click Save.
When a document is exported, the generated XML file contains the name of the template the document is using and all editable region names.

To import XML content:

1 Choose File > Import XML into Template.
2 Select the XML file and click Open.
When XML file is imported, Dreamweaver merges the XML content with the template specified in the XML file and displays the result in a new Document window. If the specified template is not found, Dreamweaver prompts you to select a template to use.