blob: a14403020c50146693d36a29f660423a053833b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# This is a sample RNC file from the tutorial for the 2003 Working Draft
# http://relaxng.org/compact-tutorial-20030326.html
element html {
element head {
element title { text }
},
element body {
element table {
attribute class { "addressBook" },
element tr {
attribute class { "card" },
element td {
attribute class { "name" },
mixed {
element span {
attribute class { "givenName" },
text
}?,
element span {
attribute class { "familyName" },
text
}?
}
},
element td {
attribute class { "email" },
text
}
}+
}
}
}
|