SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1670 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


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 form at for the XML tags by selecting one of the Notation options:
n Use Standard Dreamweaver XML Tags: Select this option to produce tags with
name attributes set to the names of the editable regions.
n 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.
989
Integrating with XML and XSLT 32
4. Click OK when you??™re finished. An Export Editable Regions as XML Save File dialog box appears.
5. Enter the path and name of the XML file you want to save in the File Name text box. Click Save
when you??™re finished.
Importing XML
As part of Roundtrip XML, Dreamweaver includes an Import XML command. Like the Export XML command,
Import XML works with Dreamweaver templates. The content information in the XML document
fills out the editable regions in the template, much as data fills out a form in a database.
With this import capability, you can independently create and store content in an XML file and then, if you
want to publish the page to the Web, simply import it into the Dreamweaver template.


Pages:
1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682