• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PASS '<!-- Comment -->'
2PASS '<?PI ?>'
3ELEMENT 'foobar'
4  TEXT '
5'
6  ELEMENT 'e1'
7    TEXT 'Hi & this is some text inside an element Two 'E' chars as character refs: E E and some 'J': J J'
8  END 'e1'
9  TEXT '
10'
11  ELEMENT 'e2:foo'
12    TEXT ' Text '
13    ELEMENT 'childfree'
14    END 'childfree'
15    TEXT ' with some '
16    ELEMENT 'nested'
17      TEXT 'nested elements'
18    END 'nested'
19    TEXT ' and entities "&  < >> ' and whitespace    '
20  END 'e2:foo'
21  TEXT '
22'
23  ELEMENT 'tag'
24  ab="fo<o"
25  bar="foo"
26  baz="blah"
27    TEXT 'This element has attributes'
28  END 'tag'
29  TEXT '
30'
31  ELEMENT 'nochildren'
32  a="b"
33  xyz="qrs"
34  END 'nochildren'
35  TEXT '
36'
37END 'foobar'
38