1 $group
2 $
3 var sect = {
4 title: 'Xml built-in schema'
5 };
6 section( §)
7 ittf-panel
8 title Sample xml ITTF Document
9 ittf
10 profile
11 @ name ${'$'}{user.name}
12 @ age ${'$'}{user.age}
13 friends
14 ${'$'}foreach friend in user.friends
15 friend
16 @ name ${'$'}{friend.name}
17 @ age ${'$'}{friend.age}
18 address
19 @ street ${'$'}{user.street}
20 @ city ${'$'}{user.city}
21 div
22 + Coding Rules
23 ul
24 li Ittf node names may contain
25 ul
26 li element names for elements
27 li simbol @ for attributes
28 li Ittf node values may contain
29 ul
30 li nothing for elements
31 li name and value separated by a blank for attributes
32 p ( It is assumed that one knows
33 a xml format rules
34 href https://google.github.io/styleguide/xmlstyle.html
35 span )