oPOHT=oAdapter.Tables(STRCONV("PurchaseOrderHeaderText",5)) AddXmlField(oPOHT,"parent::node()/dataset:AgentPurchaseOrder",.F.,"POId_1","I",-1,.T.) AddXmlField(oPOHT,"parent::dataset:PurchaseOrder/dataset:AgentPurchaseOrder",.F.,"POId_2","I",-1,.T.) oAdapter.SelectionNamespaces=STRCONV("xmlns:myprefix='http://www.namespacedomain/eBusiness'",5) AddXmlField(oPOHT,"parent::myprefix:PurchaseOrder/myprefix:AgentPurchaseOrder",.F.,"POId_3","I",-1,.T.)Any other suggestions how to suspend and debug this.