mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-25 23:21:26 +03:00
18 lines
488 B
Plaintext
18 lines
488 B
Plaintext
|
SAX.setDocumentLocator()
|
||
|
SAX.startDocument()
|
||
|
SAX.internalSubset(doc, , )
|
||
|
SAX.entityDecl(YN, 1, (null), (null), "Yes")
|
||
|
SAX.getEntity(YN)
|
||
|
SAX.entityDecl(WhatHeSaid, 1, (null), (null), He said &YN;)
|
||
|
SAX.getEntity(WhatHeSaid)
|
||
|
SAX.externalSubset(doc, , )
|
||
|
SAX.startElementNs(doc, NULL, NULL, 0, 0, 0)
|
||
|
SAX.getEntity(WhatHeSaid)
|
||
|
SAX.characters(He said , 8)
|
||
|
SAX.getEntity(YN)
|
||
|
SAX.characters("Yes", 5)
|
||
|
SAX.reference(YN)
|
||
|
SAX.reference(WhatHeSaid)
|
||
|
SAX.endElementNs(doc, NULL, NULL)
|
||
|
SAX.endDocument()
|