Add ID of Sone.
[Sone.git] / src / main / resources / templates / insert / sone.xml
1 <?xml version="1.0" encoding="utf-8" ?>
2 <sone>
3
4         <id><% currentSone.id></id>
5         <name><% currentSone.name|html></name>
6
7         <profile>
8                 <first-name><% currentSone.profile.firstName|html></first-name>
9                 <middle-name><% currentSone.profile.middleName|html></middle-name>
10                 <last-name><% currentSone.profile.lastName|html></last-name>
11         </profile>
12
13         <posts>
14                 <%foreach currentSone.posts post>
15                         <post>
16                                 <time><% post.time></time>
17                                 <text><% post.text|html></text>
18                         </post>
19                 <%/foreach>
20         </posts>
21
22 </sone>