add method to pprint document xml for debugging
add nested-functionality for copying lists anywhere in document