You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
632 B
24 lines
632 B
SAX.setDocumentLocator() |
|
SAX.startDocument() |
|
SAX.startElement(foo) |
|
SAX.characters( |
|
, 1) |
|
SAX.comment( def='NT-Char') |
|
SAX.comment(>Char</nt>* ']]>' <nt def='NT-Char'>Char</nt>*)) |
|
']]>'</rhs> |
|
<com>CDATA sections</com> |
|
<rhs>| '<!DOCTYPE' |
|
(<nt def="NT-Char">Char</nt> - ('[' | ']'))+ |
|
('[' |
|
<nt def="NT-simpleDTD">simpleDTD</nt>* |
|
']')? '>'</rhs> |
|
<com>doc type declaration</com> |
|
<prod id="NT-simpleDTD"><lhs>simpleDTD</lhs> |
|
<rhs>'<!&como;' |
|
(<nt def='NT-Char'>Char</nt>* - |
|
(<nt def='NT-Char'>Char</nt>* '&comc;' <nt def='NT-Char'>Char</nt>*)) |
|
'&comc;>'</rhs>) |
|
SAX.characters( |
|
, 1) |
|
SAX.endElement(foo) |
|
SAX.endDocument()
|
|
|