Questions tagged as 'xml'

1
answer

UnknownNode when loading XML into class

I get the following XML from a database (modified data, but the structure is this) <registro> <header> <codUsuario>XXX</codUsuario> <codLojista>999</codLojista> </header> <parametros&g...
asked by 05.03.2018 / 21:45
1
answer

The reported event was not recognized by the system

Hello everyone, I'm trying to send the S2220 event to E-Social, but it returns me the error: "The reported event was not recognized by the system. Suggested Action: Verify that the reported event and version of the layout are in accordance wit...
asked by 05.03.2018 / 19:16
1
answer

Content Not Allowed in Prolog, even if XML is perfectly formatted

So, I've been trying to send an XML to a Webservice from Sapucaia do Sul, RS. XML requests a NFS printout as a PNG. The problem is that XML is sent and as a return I get a message saying "Content Not Allowed in Prolog", and the problem is that I...
asked by 12.03.2018 / 15:33
1
answer

How to do a search in an xml file with php?

<ISBN id = "1"> <genero> <descricao> Suspense </descricao> <descricao> Ficcao Policial </descricao> </genero>...
asked by 02.03.2018 / 22:09
0
answers

Manipulating XML with java

It has a file .xml that has as main element (test cases) and as "daughters" the test case: <casosTeste> <casoTeste nome="NOME01"> <regex>TEXTO DE EXEMPLO 1</regex> </casoTeste> <caso...
asked by 06.03.2018 / 18:32
0
answers

Android app with colored background in buttons and text

I was working on an android app, and I do not know how it started to cause problems ... it did not start at all, so I opened the message saying that the app cracked and wanted to restart it. After some effort to figure out what was going on, I d...
asked by 20.02.2018 / 17:18
1
answer

Updating XML data in real time with jQuery.get

I'm building a page that has a (with bootstrap 4) carousel that displays some information about temperatures. This information comes from an XML that will be updated whenever a change occurs. I'm doing the tests by manually changing the...
asked by 19.02.2018 / 17:19
0
answers

Java: "The message with Action 'X' can not be processed on the recipient."

I'm having trouble understanding what's being done wrong and because I'm getting this error message in java when trying to send the XML to the city of Camaquã. The parameters used and the wsdl link are in the code below. Message: "The message...
asked by 16.02.2018 / 12:39
1
answer

Check if a string is null or empty in XSLT

I have this XML code snippet and I need to check if it is empty: <CNPJ> <xsl:if "cnpjContratado"!=NULL> <xsl:value-of select="cnpjContratado"/> </xsl:if> </CNPJ> <CPF> <xsl:if "cpfCont...
asked by 14.02.2018 / 22:37
0
answers

Foreach in PHP with SimpleXMLElement Object

I need access to the information (media_id, media_type, etc.) within the object array below. How should I proceed? [midias] => SimpleXMLElement Object ( [midia] =&...
asked by 15.02.2018 / 12:25