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.

16 lines
405 B

SAX.setDocumentLocator()
SAX.startDocument()
SAX.startElementNs(root, NULL, NULL, 0, 0, 0)
SAX.characters(
, 3)
SAX.startElementNs(foo, NULL, 'http://abc', 1, xmlns='http://abc', 0, 0)
SAX.endElementNs(foo, NULL, 'http://abc')
SAX.characters(
, 3)
SAX.startElementNs(bar, NULL, NULL, 0, 0, 0)
SAX.endElementNs(bar, NULL, NULL)
SAX.characters(
, 1)
SAX.endElementNs(root, NULL, NULL)
SAX.endDocument()