Questions tagged as 'xml'

1
answer

Generate tags with constants using XStream in Java

Hello I need to generate an xml with uppercase tags that would have to be final attributes in the template class to generate xml. To do this, I'm trying to use the Java XStream API. But being these final tags I can not generate a builder o...
asked by 25.07.2018 / 15:21
1
answer

Request permission to access Android internal storage by a Fragment

How do I request permission to access the device's internal storage by a Fragment? In normal activity I used this code: int REQUEST_CODE = 0; ActivityCompat.requestPermissions(MainActivity.this, new String[] {Manifest.permission.WRITE_...
asked by 29.08.2018 / 17:09
1
answer

badly formatted XML

I'm trying to read some XML files with the Element Tree of Python, but one of them, when I go to do the parser gives me this error:    xml.etree.ElementTree.ParseError: not well-formed (invalid token) This is the line that gives the err...
asked by 06.06.2018 / 13:50
0
answers

Validation of XML in Cadprev [closed]

I need to urgently validate an xml in the Cadprev system, but I can not find the problem in it that causes the message to appear: "The file you selected is not in the format specified by the XML schema for the statement." I would like tips on ho...
asked by 06.06.2018 / 08:14
2
answers

Server did not recognize the value of HTTP Header SOAPAction

I'm trying to implement a webservice of a software called SmarterTrack just that I'm not getting it ... it gives me the following error: Server did not recognize the value of HTTP Header SOAPAction: http://localhost:9996/Services2/svcTickets....
asked by 06.06.2018 / 14:51
1
answer

Consume webservice soap with PHP (xml with attributes)

I need to consume a wsdl but the XML for sending to the webservice server has attributes. I created an array containing all tags, but I was wondering how to add the attributes of each tag. XML to be sent to the server: <soapenv:Envelop...
asked by 09.05.2018 / 21:59
0
answers

Merging Android Manifest.xml failed with AdMob [UNITY]

The error is present when I try to build in my Android game in Unity, it simply blames error and says that it was not possible to give Merge in the AndroidManifest.xml file. Error1    AndroidSDKToolsException: Unable to merge android manif...
asked by 29.04.2018 / 08:48
1
answer

Transform array into XML

I'm trying to transform an array into an XML My XML needs to have the following structure <Products> <Product name="TR-501"> <Descricao texto="55.180.198 / 46789771" /> <Detalhes> <Variacao modelo=...
asked by 17.04.2018 / 17:57
0
answers

Retrieve information from WebService

I have to send an access token to the webservice, this token should be send in an XML like this: POST /webslaptime_deploy/websLapTime.asmx HTTP/1.1 Host: 187.17.175.49 Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "h...
asked by 04.04.2018 / 19:29
0
answers

How to use a Figma layout in Android Studio?

I have a project in Figma with some screens, for example that of the image below: FigmageneratestheXMLorSVGcodeofeachcomponent,suchasthe"screen": <!-- layout/*.xml --> <RelativeLayout xmlns:android="http://schemas.android.com/...
asked by 24.03.2018 / 16:34