• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1SAX.setDocumentLocator()
2SAX.startDocument()
3SAX.startElementNs(foo, NULL, NULL, 0, 0, 0)
4SAX.characters(
5, 1)
6SAX.comment( def='NT-Char')
7SAX.comment(>Char</nt>* ']]&gt;' <nt def='NT-Char'>Char</nt>*))
8']]&gt;'</rhs>
9<com>CDATA sections</com>
10<rhs>| '&lt;!DOCTYPE'
11(<nt def="NT-Char">Char</nt> - ('[' | ']'))+
12('['
13<nt def="NT-simpleDTD">simpleDTD</nt>*
14']')? '&gt;'</rhs>
15<com>doc type declaration</com>
16<prod id="NT-simpleDTD"><lhs>simpleDTD</lhs>
17<rhs>'&lt;!&como;'
18(<nt def='NT-Char'>Char</nt>* -
19(<nt def='NT-Char'>Char</nt>* '&comc;' <nt def='NT-Char'>Char</nt>*))
20'&comc;&gt;'</rhs>)
21SAX.characters(
22, 1)
23SAX.endElementNs(foo, NULL, NULL)
24SAX.endDocument()
25