Importação xml array

dei bobeira. Valtype(oXml:_nfeProc:_NFe:_InfNfe:_DET) == 'A' deu certo