1 | SAX.setDocumentLocator()
|
---|
2 | SAX.startDocument()
|
---|
3 | SAX.internalSubset(doc, , )
|
---|
4 | SAX.entityDecl(YN, 1, (null), (null), "Yes")
|
---|
5 | SAX.getEntity(YN)
|
---|
6 | SAX.entityDecl(WhatHeSaid, 1, (null), (null), He said &YN;)
|
---|
7 | SAX.getEntity(WhatHeSaid)
|
---|
8 | SAX.externalSubset(doc, , )
|
---|
9 | SAX.startElementNs(doc, NULL, NULL, 0, 0, 0)
|
---|
10 | SAX.getEntity(WhatHeSaid)
|
---|
11 | SAX.characters(He said , 8)
|
---|
12 | SAX.getEntity(YN)
|
---|
13 | SAX.characters("Yes", 5)
|
---|
14 | SAX.reference(YN)
|
---|
15 | SAX.reference(WhatHeSaid)
|
---|
16 | SAX.endElementNs(doc, NULL, NULL)
|
---|
17 | SAX.endDocument()
|
---|