
1104
Part VI
Enhancing Productivity and Web Site Management
When importing a Dreamweaver Standard XML file, if the specified template cannot be found, a dia-
log box appears asking that you select another template.
The other option is to use what Dreamweaver refers to as Editable Region Name tags. This method
uses the editable region names themselves as tags. In the case of the editable region name
ShipVia,
the tag pair under this method is
<ShipVia>...</ShipVia>.
To create an XML file from within Dreamweaver, follow these steps:
1. Open a Dreamweaver document based on a template that has at least one editable region.
2. Choose File ➪ Export ➪ Export Editable Regions As XML. The Export Template Data as
XML dialog box opens, as shown in Figure 32-2.
FIGURE 32-2
You can convert any template-based page to an XML document by using the
Export Template Data as XML dialog box.
3. Choose the format for the XML tags by selecting one of the Notation options:
Use Standard Dreamweaver XML Tags:
■■
Select this option to produce <item> tags
with
name attributes set to the names of the editable regions.
Use Editable Region Names As XML Tags:
■■
Select this option to produce XML tags
that use the editable region names directly.
Selecting either option displays sample tags in the Sample area of the dialog box.
4. Click OK when you’re finished. An Export Editable Regions as XML Save File dialog box ...