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.
22 lines
485 B
22 lines
485 B
SAX.setDocumentLocator()
|
|
SAX.startDocument()
|
|
SAX.internalSubset(root, , )
|
|
SAX.entityDecl(foo, 1, (null), (null), abc)
|
|
SAX.getEntity(foo)
|
|
SAX.entityDecl(bar, 1, (null), (null), def)
|
|
SAX.getEntity(bar)
|
|
SAX.externalSubset(root, , )
|
|
SAX.getEntity(foo)
|
|
SAX.startElement(root, attribute='&foo;')
|
|
SAX.characters(
|
|
, 4)
|
|
SAX.startElement(element)
|
|
SAX.getEntity(bar)
|
|
SAX.characters(def, 3)
|
|
SAX.reference(bar)
|
|
SAX.endElement(element)
|
|
SAX.characters(
|
|
, 1)
|
|
SAX.endElement(root)
|
|
SAX.endDocument()
|