a sample file for those who want to use the XML module in standalone mode. Added a bunch of ifdefs for getting the standalone mode.