command line PHP app that parses an p-card xml file for specific elements