1SAX.setDocumentLocator() 2SAX.startDocument() 3SAX.startElementNs(diagram, dia, 'http://www.lysator.liu.se/~alla/dia/', 1, xmlns:dia='http://www.lysator.liu.se/~alla/dia/', 0, 0) 4SAX.characters( 5 , 3) 6SAX.startElementNs(diagramdata, dia, 'http://www.lysator.liu.se/~alla/dia/', 0, 1, 0, dia:testattr='test...', 4) 7SAX.endElementNs(diagramdata, dia, 'http://www.lysator.liu.se/~alla/dia/') 8SAX.characters( 9, 1) 10SAX.endElementNs(diagram, dia, 'http://www.lysator.liu.se/~alla/dia/') 11SAX.endDocument() 12