Questions tagged as 'xml'

0
answers

How to read a return xml containing CDATA in PHP

Hello, I'm not very familiar with this type of return on a SoapClient request (by the way, I'm not very familiar with SOAP). The return has an element "example"], and when I try to read the file, it prints all in a single string. $url...
asked by 26.12.2018 / 19:33
1
answer

What is the best way to do the verification? (Try-catch, multiples if, ...?)

I'm reading thousands of XML files with python. The problem is, there is not always the field in every file. resumo_cv = root.find("DADOS-GERAIS").find("RESUMO-CV").get("TEXTO-RESUMO-CV-RH") resumo_cv_ingles = root.find("DADOS-GERAIS")...
asked by 14.12.2018 / 15:14
0
answers

Problems sending Nfe 4.0 to the states of SP, MT and MS

I'm having trouble sending NFe 4.0 down only to the SP, MT, and MS states. Others are shipping normally. You're giving this section an error: HttpWebResponse responsePost = (HttpWebResponse)httpPostConsultaNFe.GetResponse(); Here is the...
asked by 04.12.2018 / 17:03
0
answers

Can not resolve the name 'ds: SignatureType' to a 'type definition' component

In Java, when having validate an XML by XSD I'm getting the message:    Can not resolve the name 'ds: SignatureType' to a 'type definition' component. I have a REST service that receives an input XML, then validates the same with XSD and...
asked by 04.12.2018 / 11:56
0
answers

Add row header in xml when enveloping

I use this function to add rows to envelop xml : string soapEnvelope = string.Empty; soapEnvelope += "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ws=\"http://www.betha.com.br/e-nota-cont...
asked by 11.12.2018 / 13:52
0
answers

I can not import all xml subfields with PHP

I have a function to import the xml file: $xml = new SimpleXMLElement($arquivoxml); foreach($xml->Imoveis->Imovel AS $itens) { $ref=$itens->Id; $atributospai = $itens->Atributos; foreach ($atributospai->children() as $atr)...
asked by 13.11.2018 / 21:34
0
answers

How to apply a filter in XML to import the records using PHP?

I have an XML with several records to do an import with PHP. The import part is ok, but I wanted to do a filter before importing, for example, just importing the record that has ID 444, how can I do that? I thought of downloading the xml edit...
asked by 19.11.2018 / 14:53
0
answers

How to send a query to an arrayadapter?

I'm trying to pass a query from an sqlite to an arrayadapter that will consume the query as a string, but I'm not getting the arrayadapter to populate my view. follow view code: <?xml version="1.0" encoding="utf-8"?> <RelativeL...
asked by 08.11.2018 / 14:56
0
answers

How to change the color of my SearchView course

For now it is white and I need to put it in black color, I found several tutorials, but I did not find one that works, how do I do this? Code: searchViewPesquisa = (SearchView) findViewById(R.id.searchViewPesquisa); EditText search...
asked by 16.11.2018 / 12:38
0
answers

Generate XML Automatically - Magento

I would like to know how do I get Magento to automatically generate new XML every day? Only by configuring Magento in System, it does not work. The xml Status is always pending and I have to manually generate. Could you help me?     
asked by 16.11.2018 / 14:04