Daniel Veillard | 6974feb | 2006-02-05 02:43:36 +0000 | [diff] [blame] | 1 | SAX.setDocumentLocator() |
| 2 | SAX.startDocument() |
| 3 | SAX.startElement(foo) |
| 4 | SAX.characters( |
| 5 | , 1) |
| 6 | SAX.comment( def='NT-Char') |
| 7 | SAX.comment(>Char</nt>* ']]>' <nt def='NT-Char'>Char</nt>*)) |
| 8 | ']]>'</rhs> |
| 9 | <com>CDATA sections</com> |
| 10 | <rhs>| '<!DOCTYPE' |
| 11 | (<nt def="NT-Char">Char</nt> - ('[' | ']'))+ |
| 12 | ('[' |
| 13 | <nt def="NT-simpleDTD">simpleDTD</nt>* |
| 14 | ']')? '>'</rhs> |
| 15 | <com>doc type declaration</com> |
| 16 | <prod id="NT-simpleDTD"><lhs>simpleDTD</lhs> |
| 17 | <rhs>'<!&como;' |
| 18 | (<nt def='NT-Char'>Char</nt>* - |
| 19 | (<nt def='NT-Char'>Char</nt>* '&comc;' <nt def='NT-Char'>Char</nt>*)) |
| 20 | '&comc;>'</rhs>) |
| 21 | SAX.characters( |
| 22 | , 1) |
| 23 | SAX.endElement(foo) |
| 24 | SAX.endDocument() |