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

package info (click to toggle)
grilo-plugins 0.3.3-1%2Bdeb9u1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 10,100 kB
  • sloc: ansic: 43,393; sh: 4,094; makefile: 1,178; xml: 654; python: 423
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"
          }
        },
      }
    }
  }
}