tweakage on adding attributes - WIP
added python stack module for XML generation