Questions tagged as 'xml'

1
answer

How to monitor a URL when there are changes?

I have a system, which needs to compare multiple values, between multiple sites. These values are read from an XML provided by the site in question. The problem is that the default URL reading via cURL, for example, to 1 single site, however,...
asked by 06.04.2018 / 19:55
1
answer

In the automatic return of the pagseguro I can not save the information in the bank

I wonder if something is wrong: if(isset($_POST['notificationType']) && $_POST['notificationType'] == 'transaction'){ //Todo resto do código iremos inserir aqui. $email = 'douglas@...'; $token = '95112...'; $url = 'https://ws.pagsegu...
asked by 01.03.2016 / 23:15
2
answers

Handling XML file with PHP

I have the following XML: <offer categoryId="3588" id="154394195459775522"> <offerName> CAMISETA DROP DEAD PRODUCTION – MASCULINA VERDE ESCURO </offerName> <links> <link url="http://links....
asked by 21.09.2014 / 18:46
2
answers

Generate an array inside XML in sql server

I have the following problem: I'm running a Procedure in Sql Sever that generates an XML to me via the XML PATH command, however, one of the fields is an array, what I got was this: This select is inside the PROC which is what matters to...
asked by 03.01.2018 / 15:13
1
answer

change String.xml by java class

Hello, I was wondering if it is possible to modify a String from the values folder by a click of a button. these are String.xml <string name="app_name">FC MANAGER</string> <string name="goleiro_1">1 Diego Alves</string&...
asked by 03.06.2018 / 02:30
2
answers

How do I read an XML file in PHP?

I have an invoice file in .xml that when uploading to my page in PHP, I'd like a code that displays a certain data that contains in the XML file such as the invoice number, the date of and the key. Can anyone tell me how to read XML fi...
asked by 31.07.2014 / 08:36
2
answers

TextView - Leave only one word in bold

I have TextView which shows the following text on the screen: Like this: value: PROMOTION! How do I: value: PROMOTION! Do you have put bold in just one word of TextView ? That is, I have to do this without ha...
asked by 08.02.2017 / 20:59
2
answers

Difficulty in reading XML in Java

I'm trying to learn, and I'm having a hard time reading an XML catching via WEB and turning it into an object. There is a ready code in which it makes the connection to the site, and another that a friend has shown me that I should pass the XML...
asked by 28.09.2017 / 20:17
2
answers

Error adding Textview by programming

I am having an error in creating TextViews by scheduling the application 'crash' on the screen MainActivity.java package com.example.matheus.login; import android.content.Intent; import android.os.Bundle; import android.support.design.w...
asked by 18.07.2017 / 20:45
1
answer

List returns only the last element

Hey guys, after a lot of work I got several xml tags to play in an Excel report. But when I populate the list with my object and step into the report only the last element is listed. I already made some System.out.println to show the elem...
asked by 06.05.2015 / 16:09