Step 1: Select File -> Import XML into Template
Step 2: Choose the XML file & click Open
While an XML file is imported, Dreamweaver merges the XML content in the Template that is being specified in the XML file and illustrates the result in the document window of Dreamweaver. If that specified Template is not searched, then Dreamweaver prompts you to choose another Template for use.
The XML file must contain the name of the Template and editable region as XML tags.
Example:
<doctitle>
<![CDATA[<title>newTemplate</title>]]>
</doctitle>
<Edit-Region>
<![CDATA[{Edit-Region}]]>
</Edit-Region>
Here doc title recognizes the title of the Template and edit-region identifies the editable region.
However in a standard Dreamweaver file XML tags employ the "item name". The above instance (XML tags) is given below in standard Dreamweaver file:
<item name="doctitle">
<![CDATA[ <title>newTemplate</title>]]>
</item>
<item name="Edit-Region">
<![CDATA[{Edit-Region}]]></item>
</item>
Here "item name=doctitle" identifies the title of the Template & "item name=edit region" identifies editable region.