Questions tagged as 'xml'

1
answer

Extract external domain xml data with jquery

I happen to have an error in the browser when extracting the xml data from an external domain through jquery ajax. I try to do it this way: $.ajax({ type: "GET" , url: "http://api.radionomy.com/currentsong.cfm?radiouid=E8FBFBE1-E50...
asked by 15.04.2018 / 16:27
1
answer

How to pass XML file to array in Laravel

I'm doing a laravel application with which you can upload an xml file to the server to insert your data in the database. The problem with this is that I have uploaded the file but I can not convert it to an array to manage its data from larav...
asked by 29.03.2018 / 18:19
1
answer

Get list of child nodes in XML

I have a problem with a Python exercise in which I have to use an XML file, the statement is this:    In a list we have different province identifiers, show the name of the provinces and all the municipalities corresponding to the identifiers...
asked by 15.02.2018 / 18:02
1
answer

PHP Parse XML from a url

is the first time that I parse an XML from PHP and I have many doubts. I have written this code but it gives me some warning that I do not know if they are normal: $url = "http://...xml_obras.php"; if(!$xml = simplexml_load_string($url)) {...
asked by 02.03.2018 / 18:58
1
answer

How do I decrease the alpha ONLY of the parent component of the layout.xml?

Hi, I have something like the following The View containing the EditText is a CardView, to which I try to lower the opacity without affecting the other elements, but I only see the alpha property and it affects all the internal componen...
asked by 20.11.2017 / 19:27
1
answer

c # deserialize xml within a class

Hello, I have the following query. I have an Origin class, which has the following structure public class Origen { public int IdOrigen { get; set; } public string Nombre { get; set; } public decimal Peso { get; set; } publi...
asked by 17.11.2017 / 21:46
1
answer

Access an attribute of a String xml

Amazon Market Place Id returns an xml with the list of X products, but I do not know how to access let's say to the attribute < ns2:Title> , the answer I get is the following: SimpleXMLElement Object ( [ListMatchingProductsResu...
asked by 30.10.2017 / 17:12
1
answer

C # You can not implicitly convert a value of an attribute of a class

XML file with the parsing of a document based on constituents which can have nested nodes (sub-trees of any depth). <document> <wordcount>181</wordcount> <cputime>0.084678</cputime> <paragraph> <...
asked by 06.10.2017 / 17:23
1
answer

jersey web services tags

hi I'm trying to create a web service with an eclipse jersey that receives and returns an xml, the structure of the xml should be like the following: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <root> <values>...
asked by 05.01.2018 / 19:27
1
answer

ButtonView does not display correctly

In android studio I just inserted a ButtonView in a Relative layout. Although in the preview it looks good, when giving the play comes compressed: code: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:andro...
asked by 16.07.2017 / 13:04