Move friend-related functionality into the database.
[Sone.git] / src / main / resources / templates / insert / include / album.xml
1 <album>
2         <id><% album.id|xml></id>
3         <name><% album.name|xml></name>
4         <description><% album.description|xml></description>
5         <albums>
6                 <%foreach album.albums album>
7                 <%include insert/include/album.xml>
8                 <%/foreach>
9         </albums>
10         <images>
11                 <%foreach album.images image>
12                 <image>
13                         <id><% image.id|xml></id>
14                         <creation-time><% image.creationTime|xml></creation-time>
15                         <key><% image.key|xml></key>
16                         <width><% image.width|xml></width>
17                         <height><% image.height|xml></height>
18                         <title><% image.title|xml></title>
19                         <description><% image.description|xml></description>
20                 </image>
21                 <%/foreach>
22         </images>
23 </album>