-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxmltable1.lua
99 lines (98 loc) · 3 KB
/
xmltable1.lua
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
xmldoctable1 = {
[".__type"] = "document",
[1] = {
[".__name"] = "root",
[".__type"] = "element",
[".__local_name"] = "root",
[".__namespace"] = "",
[".__ns"] = {
},
[".__attributes"] = { ["empty"] = "", ["quotationmarks"] = "\"text\"", ["one"] = "1", ["foo"] = "no"},
[1] = "\n ",
[2] = {
[".__name"] = "sub",
[".__type"] = "element",
[".__local_name"] = "sub",
[".__namespace"] = "",
[".__ns"] = {
},
[".__attributes"] = {["foo"] = "baz",someattr = "somevalue"},
[1] = "123",
},
[3] = "\n ",
[4] = {
[".__name"] = "sub",
[".__type"] = "element",
[".__local_name"] = "sub",
[".__namespace"] = "",
[".__ns"] = {
},
[".__attributes"] = { ["foo"] = "bar"},
[1] = "contents sub2",
},
[5] = "\n ",
[6] = {
[".__name"] = "sub",
[".__type"] = "element",
[".__local_name"] = "sub",
[".__namespace"] = "",
[".__ns"] = {
},
[".__attributes"] = { ["foo"] = "bar"},
[1] = "contents sub3",
[2] = {
[".__name"] = "subsub",
[".__type"] = "element",
[".__local_name"] = "subsub",
[".__namespace"] = "",
[".__ns"] = {
},
[".__attributes"] = { ["foo"] = "bar"},
[1] = "contents subsub 1",
},
},
[7] = "\n ",
[8] = {
[".__name"] = "other",
[".__type"] = "element",
[".__local_name"] = "other",
[".__namespace"] = "",
[".__ns"] = {
},
[".__attributes"] = { ["foo"] = "barbaz"},
[1] = "contents other",
[2] = {
[".__name"] = "subsub",
[".__type"] = "element",
[".__local_name"] = "subsub",
[".__namespace"] = "",
[".__ns"] = {
},
[".__attributes"] = { ["foo"] = "oof"},
[1] = "contents subsub other",
},
},
[9] = "\n ",
[10] = {
[".__name"] = "other",
[".__type"] = "element",
[".__local_name"] = "other",
[".__namespace"] = "",
[".__ns"] = {
},
[".__attributes"] = { ["foo"] = "other2"},
[1] = "contents other",
[2] = {
[".__name"] = "subsub",
[".__type"] = "element",
[".__local_name"] = "subsub",
[".__namespace"] = "",
[".__ns"] = {
},
[".__attributes"] = { ["foo"] = "subsub2"},
[1] = "contents subsub other2",
},
},
[11] = "\n",
},
}