working with dynamic xml, regular xml still nullpointer