You could, I suppose, subclass org.jdom.DefaultJDOMFactory, and override some of the tracking methods when creating specific nodes. You can then pass the object of this subclass to SAXBuilder.setFactory.
It is up to you to decide what “progress” is, although you can only decide based on the XML structure.
source
share