Change formatting.
[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                         <id><% post.id></id>
17                         <time><% post.time></time>
18                         <text><% post.text|html></text>
19                 </post>
20                 <%/foreach>
21         </posts>
22
23 </sone>