mirror of
https://github.com/darlinghq/darling-libxml2.git
synced 2024-11-27 06:00:35 +00: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()
|