Most voted "xml" questions
Extensible Markup Language (XML) or extensible markup language is a structured document format that defines human and machine-readable encoding rules. It is defined by the XML 1.0 Specification produced by the W3C (World Wide Web Consortium).
Learn more…1,028 questions
Sort by count of
-
2
votes1
answer103
viewsHow to set a string coming from a sqlite database to display in a Textview?
I’m trying to display a string value in a textview via a query in sqlite, but when I run the code a numeric log of the Android sqlite class is displayed randomly. I’m just trying to display the…
-
2
votes1
answer158
viewsLINQ TO XML Query with Optional Widget
Hello folks I’m having a question to display the data of a file XML through a consultation LINQ , the problem is that I am trying to consult the data of the person but the mandatory filling and name…
-
2
votes1
answer474
viewsError when converting XML to Object using Xstream
I simulated in a smaller project the same error you are presenting in my original project to make the problem clearer. Follow Code and Error Log. Xmlconverter import…
-
2
votes1
answer7204
viewsHow to generate an XML file from a PHP form?
I made the following form: <html> <body> <form method="post" action="cadastro.php"> Informacoes <br> Nome <input type="text" name="nome"> <br> Endereco <input…
-
2
votes1
answer86
viewsJsonconvert returns Exception in Xmlnode
I tried to convert Json to Xml so making it easier to read. And I used the following code... using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using…
-
2
votes1
answer427
viewsPHP - Soap error
Guys good morning, I have a problem with "SOAP" I confess that I am very lay, I already took a look on the internet and I could not identify where this the problem, I wonder if someone could give a…
-
2
votes1
answer2619
viewsHow to send data by XML file via an API integration to the server
I am using the Codeigniter Framework and trying to do a system integration via API using XML. I have to send a file with XML parameters to a server via post. Basically the server has to receive a…
-
2
votes1
answer681
viewsDifferences between using XML or JSON
I want to understand why use XML or JSON, and why have little XML content on the internet? XML is already "dead"?
-
2
votes2
answers185
viewsRead XML file with only one Parent Node
I need to import an XML file that has the following structure: <?xml version="1.0" encoding="UTF-8"?> <Registos>3</Registos> <Socios> <id>1</id>…
-
2
votes1
answer41
viewsHow to get each item of an XML?
In my Node.js application, I have this answer in XML: <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?> <checkout> <code>meucode</code>…
-
2
votes0
answers500
viewsIn Android Studio how to view what comes off the screen?
I’m using text and an image with that they comes off the screen but with ScrollView sailing is possible but in Android Studio on the small screen is the phone to follow the design what comes out…
-
2
votes2
answers763
viewsRecover the value of an attribute of a generic object in Java
I’m making a system where I read Java objects of different types of XML files. So I don’t have a single object type and consequently I don’t know its attributes or methods. I would like to perform a…
-
2
votes1
answer1364
viewsHow to read XML in real live pattern?
I have a real estate system and with it I developed my own XML standard for integration with Portals. But the code that I use to read my XML, can not do the reading that is in the pattern of Viva…
-
2
votes0
answers144
viewsInsert data dynamically with xml the coordinates in the heat map
I’m trying to use this code to read the coordinates data xml instead of the statically inserted data in the code but it doesn’t work when done this way. Code: function getPoints() { return [ //new…
-
2
votes4
answers10562
viewsHow many programs can download XML from Brazilian NF-e?
I see that many websites and systems offer XML Download service issued by Brazilian taxpayers. Does anyone know if there is beyond the Technical note "002/2012" that establishes a Webservices for…
-
2
votes1
answer81
viewsXpath does not recognize XML elements
I have an XML. But something is happening that I don’t understand. When trying to use Xpath to return the Author elements, using //Author (tested pathway…
-
2
votes1
answer1008
viewsError inflating class android.support.design.widget.Navigationview
It is working correctly on most devices, however on other devices the following error is occurring: android.view.Inflateexception: Binary XML file line #16: Error inflating class…
java android xml android-layout navigation-drawerasked 8 years, 5 months ago Giancarlo Abel Giulian 3,999 -
2
votes1
answer1550
viewsHow to get xml data with php?
I’m trying to integrate my system with the jadlog carrier but I can’t get the xml data with php. return url of jadlog Upshot: <soapenv:Envelope…
-
2
votes1
answer39
viewsHelps storage in XML file
good afternoon! I’m developing a system for product registration. However, I am thinking of creating an XML file to store the general characteristics of the products (the other information will be…
-
2
votes1
answer119
viewsHow to get the content of a tag from a Linq query?
I have XML with the following structure: <?xml version="1.0" encoding="UTF-8"?> <pessoas> <pessoa> <nome>Joao</nome> <email>[email protected]</email>…
-
2
votes1
answer553
viewsGenerate indented XML via PHP
Hello, good morning. I am generating xml with php, but the code is getting everything in a single line, I need it to be ideated when generated, respecting the hierarchy. I have no idea how you do it…
-
2
votes0
answers835
viewsError loading XML in Xdocument
I’m consuming a Webservice with the following code WebRequest request = WebRequest.Create(link); byte[] bytesToWrite = Encoding.ASCII.GetBytes(xml); request.Method = "POST"; request.ContentLength =…
-
2
votes2
answers1023
viewsXml Tag base64Binary C#
I have the following xml tag (I’ll summarize for size): <docZip schema="procNFe_v3.10.xsd" NSU="000000000001868">H4sIAAAAAAAEAN1aWY+jyLJ+Pv..bla bla bla</docZip> The field type is…
-
2
votes2
answers379
viewsERROR - Catch Xelement C#
Hello. I’m trying to get a Node of an xml Nfe can this appearing image error. At the beginning of the class a variable was created private XDocument xDoc; The xml file is inside the debug folder.…
-
2
votes0
answers238
viewsDoubts about Bradesco boleto integration
I’m having doubts about how to integrate this Bradesco payment solution. That’s the documentation I don’t know if it’s via POST, via GET, if it’s via XML. I’m confused.. I tried something like this…
-
2
votes1
answer729
viewsXML mapping in Excel 2013
I have a spreadsheet where on each line I register a test case and then export it to XML, then upload this xml into another system we use. The problem is that I can only do 1 to 1, I can’t fill…
-
2
votes1
answer120
viewsHow to read objects from an XML?
I have an XML like this: <?xml version="1.0" encoding="UTF-8"?> <java version="1.8.0_101" class="java.beans.XMLDecoder"> <object class="java.util.ArrayList"> <void…
-
2
votes1
answer88
viewsPosition button on top of ad
Hello, I would like to know how to put a close ad button in the corner of the screen, on top of the ad. I even tried here more takes space from the webview above and is not transparent the part, for…
-
2
votes2
answers736
viewsEmpty nRec upon receiving return from SEFAZ
Using the Nfephp project API, through the function: $retorno = $nfe->sefazEnviaLote($aXml, $tpAmb, $idLote, $aResposta, $indSinc, $flagZip); get the array $aResposta. However this array is…
-
2
votes4
answers1354
viewsXML returned by web service with encoding error
Hello, I have an XML that returns from a webservice with encoding errors, on encoding XML is like UTF-8 but it doesn’t display accents correctly and I can’t detect which correct encoding it should…
-
2
votes1
answer164
viewsproblem with integration with affinityassistencia (Curl + php + xml)
Well, I’ve got Curl up and running. I’m trying to integrate with the site: https://www.affinityassistencia.com.br/ws/examples/? usuario=teste&password=teste&button=Log in getplano method. i…
-
2
votes0
answers162
viewsHow to generate XSD that requires sending the contents of an XML element using JAX-WS
I’m creating a web service with JAX-WS. In an operation, I receive an object that contains some attributes and I want these attributes to always come with value. @XmlRootElement…
-
2
votes0
answers75
viewsarray_filter in array inside Simplexml object
I have the following object: object(SimpleXMLElement)#2 (1) { ["cinema"]=> array(82) { [0]=> object(SimpleXMLElement)#4 (11) { ["@attributes"]=> array(2) { ["id"]=> string(3) "716"…
-
2
votes1
answer418
viewsError Reading XML with namespace in PHP
I need to access the value of tags numeroCNS, dataAtribuicao, etc of the following file XML: <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope…
-
2
votes1
answer98
viewsData referring to images being repeated when reading XML
I’m trying to get image data from a xml but I’m having a hard time doing it, the record I’m reading is being overwritten. I made a first foreach and I can find the date I need, but now I need to…
-
2
votes2
answers310
viewsCreate node in xml with jquery
Hello, guys, I have a problem: I’m trying to create a node in an xml with jquery and I can’t... I have an xml file which I get it with ajax: <?xml version="1.0" encoding="UTF-8"?>…
-
2
votes0
answers586
viewsIs it possible to generate the XSD file from XML?
Doubt is how to generate the file .xsd from the xml ? I was analyzing this tutorial C# - Basic XML Operations and it doesn’t say how. It is possible ? XML <?xml version="1.0" encoding="utf-8"…
-
2
votes1
answer2799
viewsSpecial characters () appear in front of the XML tag
I am reading two XML files but created on different computers. This first was created on my computer: <?xml version="1.0" encoding="UTF-8"?> ... Already this below with same content appears a…
-
2
votes1
answer397
viewsXml Treatment with ASPNET MVC Core?
I’m working on uploading Xml using the ASPNET MVC Core, I get in the controller the file this way: public async Task<IActionResult> Upload(IFormFile param) { } but I need to check it before I…
-
2
votes2
answers429
viewsHow to popular an object with the return of a Webapi query?
How popular the variable _clientes guy Cliente with the return of a consultation to a WebApi? Following the great suggestion of Damon Dudek I came across the error below: public class…
-
2
votes0
answers54
viewsSearch filtered (by Label blogger)
Hello, I’m having Problem in a blogger search system. The problem is that I want to filter the searches by Label. <form action='/search' class='navbar-form navbar-right' id='searchthis'…
-
2
votes2
answers395
viewsHow to extract the date-time of a given XML field in a string - Query SQL Server 2012
Good afternoon! Guys, in my log table there is a field called logdescricao and in this field it stores several expressions. For example: <log expressao="7085"><par traduzir="N">André…
-
2
votes1
answer282
viewsHow to get a specific Json/XML object?
I need to get the contents inside <extract> to use in my application, but I’m not getting it. I tried to create a class with the same objects, I tried to use regex, but without success. I got…
-
2
votes1
answer110
viewsIs there any way to bring information from the database without using server side language?
I was evaluating the website of Zap Imoveis to find out what languages and technologies are used on their website. I use the Wappalyzer, an extension of Google Chrome, which shows the technologies…
-
2
votes1
answer370
viewsPick up a XML list in JAVA
I’m trying to get an XML list but I can’t put it in the variable. Main class: import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL;…
-
2
votes1
answer233
viewsQuery a specific node of an XML file in c#
I have a login system in C# and a following XML file: <?xml version="1.0"?> <Usuarios> <Usuario> <User_ID>001</User_ID> <Password>010309</Password>…
-
2
votes1
answer48
viewsError in Method Get on a Collection
I need to use XML in a university job and had problems with a method Get that I had to implement in a Collection. After a while I ended up taking a look at some sites to do this and found the…
-
2
votes0
answers98
viewsScraping with R - xpathSApply returning a list of 0
I’m learning to read XML data in R. I wanted to extract the information of Brazilian football (championship name, game owner, result, etc.) from this site:…
-
2
votes1
answer220
viewsVB.NET Working with XML?
I’m filling out a ComboBox from a Xml: Dim mXml As New XmlDocument Dim Arquivo As New IO.FileInfo(My.Application.Info.DirectoryPath & "\Configuracao.xml") mXml.Load(Arquivo.FullName) Dim…
-
2
votes2
answers4027
views