Hi, only just started working with xml and I was wondering if anyone can help me out-
I have an 'expose' photo album displaying 4 photos using the following code -
<?xml version="1.0" encoding="utf-8"?>
<expose version="2.1">
<picture _mngid="1">
<title>18point6</title>
<image>
<url>tim/18point6/18point6_01.jpg</url>
</image>
<smallimage>
<url>tim/18point6/_sm_18point6_01.jpg</url>
</smallimage>
<largeimage>
<url>tim/18point6/_lg_18point6_01.jpg</url>
</largeimage>
</picture>
<picture _mngid="2">
<title>18point6</title>
<image>
<url>tim/18point6/18point6_02.jpg</url>
</image>
<smallimage>
<url>tim/18point6/_sm_18point6_02.jpg</url>
</smallimage>
<largeimage>
<url>tim/18point6/_lg_18point6_02.jpg</url>
</largeimage>
</picture>
<picture _mngid="3">
<title>18point6</title>
<image>
<url>tim/18point6/18point6_03.jpg</url>
</image>
<smallimage>
<url>tim/18point6/_sm_18point6_03.jpg</url>
</smallimage>
<largeimage>
<url>tim/18point6/_lg_18point6_03.jpg</url>
</largeimage>
</picture>
<picture _mngid="4">
<title>18point6</title>
<image>
<url>tim/18point6/18point6_04.jpg</url>
</image>
<smallimage>
<url>tim/18point6/_sm_18point6_04.jpg</url>
</smallimage>
<largeimage>
<url>tim/18point6/_lg_18point6_04.jpg</url>
</largeimage>
</picture>
</expose>
However adding more photos may take ages so creating a loop would be much easier as the only change between each photo is an incrementing number.
Seems it should be easy to do but I can't find an appropriate example.
Thanks for any help anyone can give me.
Tom
I have an 'expose' photo album displaying 4 photos using the following code -
<?xml version="1.0" encoding="utf-8"?>
<expose version="2.1">
<picture _mngid="1">
<title>18point6</title>
<image>
<url>tim/18point6/18point6_01.jpg</url>
</image>
<smallimage>
<url>tim/18point6/_sm_18point6_01.jpg</url>
</smallimage>
<largeimage>
<url>tim/18point6/_lg_18point6_01.jpg</url>
</largeimage>
</picture>
<picture _mngid="2">
<title>18point6</title>
<image>
<url>tim/18point6/18point6_02.jpg</url>
</image>
<smallimage>
<url>tim/18point6/_sm_18point6_02.jpg</url>
</smallimage>
<largeimage>
<url>tim/18point6/_lg_18point6_02.jpg</url>
</largeimage>
</picture>
<picture _mngid="3">
<title>18point6</title>
<image>
<url>tim/18point6/18point6_03.jpg</url>
</image>
<smallimage>
<url>tim/18point6/_sm_18point6_03.jpg</url>
</smallimage>
<largeimage>
<url>tim/18point6/_lg_18point6_03.jpg</url>
</largeimage>
</picture>
<picture _mngid="4">
<title>18point6</title>
<image>
<url>tim/18point6/18point6_04.jpg</url>
</image>
<smallimage>
<url>tim/18point6/_sm_18point6_04.jpg</url>
</smallimage>
<largeimage>
<url>tim/18point6/_lg_18point6_04.jpg</url>
</largeimage>
</picture>
</expose>
However adding more photos may take ages so creating a loop would be much easier as the only change between each photo is an incrementing number.
Seems it should be easy to do but I can't find an appropriate example.
Thanks for any help anyone can give me.
Tom