ScanActivity and DOMWriter both take client address and stuff into account.
Although I have yet to test it with an XML file with multiple addresses.
That's next on the list.