You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
451 B
18 lines
451 B
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.startElement(doc)
|
|
SAX.getEntity(WhatHeSaid)
|
|
SAX.characters(He said , 8)
|
|
SAX.getEntity(YN)
|
|
SAX.characters("Yes", 5)
|
|
SAX.reference(YN)
|
|
SAX.reference(WhatHeSaid)
|
|
SAX.endElement(doc)
|
|
SAX.endDocument()
|