![]() |
|
Dreamweaver Extensions
|
Working with XML contentOpen the gallery.xml file in Dreamweaver (File -> Open), to change the content of your gallery. Also, you can open the XML content file through FlashDevelopment24 Wizard (Right click on Flash Object, then FlashDevlopment24 Wizard -> Flash Image Gallery). After that, in the category of 'Slides', 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"?>
<gallery>
<category caption="Category name 1">
<item caption="Photo name 1" image="photos/photo01.jpg" link="link.html" target="_blank">
<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" link=" link.html" target="_self">
<param caption="Param caption 1:">Param 1</param>
<param caption="Param caption 2:">Param 2</param>
<param caption="Param caption N:">Param N</param>
</item>
</category>
<category caption="Category name N">
<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>
</gallery>
In this example, parent <gallery> tag contains 2 child tags <category>. In example, items in the Category name N does not contain parameters of the description. <gallery>Description <category>Description Attributes
<item>Description Attributes
<param>Description Attributes
|