Questions tagged as 'xml'

1
answer

SimpleXML does not return data from file [closed]

I'm using
asked by 06.01.2017 / 19:41
1
answer

Invert display of Xml in PHP

How do I reverse the display of an xml in PHP? Code: $xml = simplexml_load_file('link.xml'); foreach($xml->VERSAO as $versao) { ?> <tr> <td width="10%"><center> <?php echo $versao->VERTEXT ?> </center>...
asked by 08.12.2016 / 20:10
1
answer

XML only brings empty value

I have xml down brought from a cUrl . <DistanceMatrixResponse> <status>OK</status> <origin_address>Muriaé - MG, 36880-000, Brasil</origin_address> <destination_address>Patrocínio do Muriaé - MG,...
asked by 16.10.2016 / 21:35
1
answer

getElementsByTagName returning zero [closed]

I'm using the following code to read a file .xml try { File fXmlFile = new File("C:\res\teste.xml"); // C:/.../teste.xml DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance(); DocumentBuil...
asked by 22.12.2016 / 18:50
1
answer

Read XML with Java

I'm using the following code to send a .xml via SOAP package consumirwebserviceporrequisicaoxml; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.StringWriter; import javax.xml.soap.MessageFactory;...
asked by 22.12.2016 / 19:24
2
answers

Modify in xml in multiple files

Hello, I need to modify a value inside an xml node, the problem is that I need to do this in 1300 files at one time, the value I look for inside the node can be any one, it does not matter what value it is there, just need to modify this node...
asked by 05.09.2016 / 16:29
1
answer

Get complete XML content without removing the tags

I need to get the complete contents of an XML file to insert it into the database. I've tried fopen but it removes the tags, and with simplexml_load_file returns array. $ponteiro = fopen ($arquivo,"r"); while (!feof ($ponteiro)) { $linha =...
asked by 04.09.2016 / 20:01
3
answers

Change Android Fragments

Good people, I'm starting with Android Studio and I'm developing a small app and I made a menu, and I would like it when I click it, open another fragment. I tried several things already and nothing: / The last one was this FragmentManager...
asked by 27.05.2016 / 23:50
2
answers

JSON x Web Services

1 - What is the difference of JSON for Web Services? (Only the format type on return)? 2 - In terms of performance, which would be better? 3 - In practice should I use JSON (with a php or java file for example) to integrate my applications...
asked by 15.03.2016 / 20:48
1
answer

Your binary does not support iPad

I made the creation of a web app using the phonegap, when sending the same to itunes, I got the following warning: " Your binary does not support iPad ", how to proceed? Someone could help me, because if I use a provisioning license, it works...
asked by 20.02.2016 / 14:53