bpls to enable pretty-printing for xml attributes

Created by: williamfgc

if an attribute name has the extension .xml bpls should be able to present the attribute value as xml formatted contents.

this is very simple to do with pugixml, std::string and std::cout : https://pugixml.org/docs/samples/save_options.cpp