Daniel Veillard | 6974feb | 2006-02-05 02:43:36 +0000 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | |
| 3 | <foo> |
| 4 | <!-- def='NT-Char'--><!-->Char</nt>* ']]>' <nt def='NT-Char'>Char</nt>*)) |
| 5 | ']]>'</rhs> |
| 6 | <com>CDATA sections</com> |
| 7 | <rhs>| '<!DOCTYPE' |
| 8 | (<nt def="NT-Char">Char</nt> - ('[' | ']'))+ |
| 9 | ('[' |
| 10 | <nt def="NT-simpleDTD">simpleDTD</nt>* |
| 11 | ']')? '>'</rhs> |
| 12 | <com>doc type declaration</com> |
| 13 | <prod id="NT-simpleDTD"><lhs>simpleDTD</lhs> |
| 14 | <rhs>'<!&como;' |
| 15 | (<nt def='NT-Char'>Char</nt>* - |
| 16 | (<nt def='NT-Char'>Char</nt>* '&comc;' <nt def='NT-Char'>Char</nt>*)) |
| 17 | '&comc;>'</rhs>--> |
| 18 | </foo> |