File: xml-parser-test-simple-table.lua

package info (click to toggle)
grilo-plugins 0.3.18-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,348 kB
  • sloc: ansic: 52,656; xml: 2,879; python: 1,137; makefile: 9
file content (23 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
return {
  document = {
    article = {
      [1] = {
        p = {
          xml = "This is the first paragraph."
        },
        h2 = {
          xml = "Title with opt style",
          class = "opt"
        }
      },
      [2] = {
        p = {
          xml = "Some  text.",
          b = {
            xml = "important"
          }
        },
      }
    }
  }
}