Added first working version with PrettyPrint for internal XML files.