how to bug the xml code