![]() |
|
Dreamweaver Extensions
|
Working with XML contentOpen the catalogue.xml file in Dreamweaver (File -> Open), to change the content of your catalogue. Also, you can open the XML content file through FlashDevelopment24 Wizard (Right click on Flash Object, then FlashDevlopment24 Wizard -> Flash Image Catalogue). After that, in the category of 'General', click the 'Edit' button near the 'Source' field. The following example shows the basic structure of the content XML file: <?xml version="1.0" encoding="utf-8"?>
<catalog>
<category caption="Category name 1" image="photos/photo01.jpg" description="Short description">
<item caption="Photo name 1" image="photos/photo01.jpg">
<param caption="Param caption 1:">Param 1</param>
<param caption="Param caption 2:">Param 2</param>
<param caption="Param caption N:">Param N</param>
<param multiline="true">Long description</param>
</item>
<item caption="Photo name 2" image="photos/photo02.jpg">
<param caption="Param caption 1:" link="empty.html" target="_blank">Param 1</param>
<param caption="Param caption 2:" link="mailto:example@yahoo.com">Param 2</param>
<param caption="Param caption N:">Param N</param>
</item>
</category>
<category caption="Category name N" image="photos/photo02.jpg" description="Short description">
<item caption="Photo name 1" image="photos/photo01.jpg" />
<item caption="Photo name 2" image="photos/photo02.jpg" />
<item caption="Photo name N" image="photos/photo03.jpg" />
</category>
</catalog>
In this example, parent <catalog> tag contains 2 child tags <category>. In example, items in the Category name N does not contain parameters of the description. <catalog>Description <category>Description Attributes
<item>Description Attributes
<param>Description Attributes
|