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
-
1
votes3
answers175
viewsExclusion via regex
I have the following string: 2014-10-12 17:04:29.996 It’s a format timestamp and is wrong because after the hour there is the .996. To capture this stretch I used the regex : \d{4}-\d{2}-\d{2}…
-
1
votes1
answer271
viewsRemove fixed-sized part of an xml
People, I have this piece of an XML and I need to remove the value (357122.40) that is between the tags < vMerc>xxxxxx< /vMerc>. Only this value has no fixed size.…
-
1
votes3
answers1002
viewsNamespace Serialization with link
I’m working with Serialization, I’m adding Namespace to two tags, nfeProc and Nfe. I can normally add the following: [XmlRoot("nfeProc", Namespace = "http://www.portalfiscal.inf.br/nfe")] In XML:…
-
1
votes0
answers24
viewsReceive Text content from another page
I am involved in a project and at the moment I need to receive content from a page (in this case, this: http://150.165.202.10/ -> online and working). I try to do it through the code below that…
-
1
votes0
answers253
viewsHow to do Reverse Engineering in compiled xml file
Hi, I was wondering if it is possible to open a compiled Androidmanifest.xml file. The same file is in hexa.
-
1
votes1
answer1186
viewsQuery the XML URL
I’m trying to get some data from an XML-coded URL but it’s giving error. Follow the code <?php $simples = new SimpleXMLElement($xml); $xml =…
-
1
votes1
answer121
viewsRepeated nodes xml c#
Hi, I needed some help. I have this code: XmlNodeList xnList = doc.GetElementsByTagName("Line"); foreach (XmlNode xn in xnList) { string salescode = xn["ProductCode"].InnerText; if (salescode ==…
-
1
votes0
answers121
viewsdetecting movements using onTouchEvent
I found this method on the internet to detect movement, but I would like when it moves right it executes a command (example changes button color), but I’m having trouble implementing this code if…
-
1
votes1
answer52
viewsTransferring Data from a Line to a Textbox
I’m using Planning Calendar to see the events that each worker has marked. But what I also need is, for example, to click on the worker Carlos Pinho the information of him (name and role) pass to…
-
1
votes0
answers33
viewsHow to enable cross-origin on Tomcat?
Basically I need to enable the Cross-Origin in my Tomcat 8.5. I want to know the right way to do this and what the risks are?
-
1
votes1
answer212
viewsCreate XML template file in Intellij Idea Jetbrain
I have a hard time putting into Jetbrain’s Ide Intellij’s NEW relationship. That is, when you created a Java project, I click with the right button on the project and I go to New I do not see the…
xmlasked 7 years, 5 months ago Dacio Lima 11 -
1
votes1
answer3208
viewsProblem with digital signature SHA-256
I am generating an xml and signing with SHA-256, but when validating the signature soon after java says that it is not valid xml generated and signed: <soap:Envelope…
-
1
votes0
answers76
viewsHow to write XML string in a tag using Xmlserialize
When I pass the string and Gero through Xmlwritersettings.xmlSerialize passing the data without any specific characters, it still generates in the following way. Briefly, I have an xml document…
-
1
votes0
answers652
viewsSystem.Invalidoperationexception
I have to convert a datatable to XML. My datatable has 68256 lines. When I serialize to XML, I get Outofmemoryexception: Exception_wasthrown error. Follow the code I’m using to make the conversion :…
-
1
votes1
answer163
viewsTransform XML contained in a json string
Hello, I need to turn a XML contained in a string into a json object. How do I do this? I have tried some native PHP functions unsuccessfully. <?xml version="1.0" encoding="UTF-8"?>…
-
1
votes0
answers47
viewsConvert XML data to SQL Insert
i have a file with some data in XML format example: <Row> <Data>BARRA DIRECAO AXIAL REGULAVEL</Data> <Data>000216</Data> <Data>FORD - EXPLORER 95/ RANGER…
-
1
votes1
answer180
viewsXmldocument - list all elements?
I have a code XML similar to this : <document> <elemento> </elemento> </document> and the following code C#: (x is a Xmldocument) for (int i = 0; i < x.ChildNodes.Count; i…
-
1
votes1
answer93
viewsLogic to inhibit record permanently
Guys I have a "big problem" and I can’t think of anything to solve it so I’d like your help. I have a desktop system that is the intermediary between the server and my web system. This desktop…
-
1
votes1
answer130
viewsGroovy - JSON List Scheme
I have a problem reading a certain part of a file xml that I’m turning into file JSON. First I get this file with the class File and throw him in my class XmlParser, responsible for parsing my xml…
-
1
votes0
answers751
viewsJson quotation with the return of the value of Commodities like Soy and corn
I am recovering a list in JSON/XML using the function of obtaining the quotations of commodities such as SOY and CORN. Could you point me to a source?
-
1
votes2
answers275
viewsSplit a layout into 2 with different percentages
Wanted to know how I do to share one layout in 2 with 70/30 percentage. I’ve devised a way to divide, but that way is not optimized for all devices.…
-
1
votes1
answer26
viewsHelp with Infrastructure
I have a Desktop system that every 1 hour makes a query in the database and generates a file .xml and a system javaWeb who reads that .xml. I developed this solution because the company I work with…
-
1
votes0
answers97
viewsIn Laravel 4, how do I convert the Model output to XML?
In Laravel, how could I transform the following result below to an XML structure? $usuarios = Usuario::with('nivel')->where(['status' => 1])->get()->toArray(); // Resultado: [ 'usuarios'…
-
1
votes1
answer1045
views -
1
votes1
answer115
viewsHow to Create a Browsing History For Android Browser? -Android Studio
Hello I’m creating a browser for Android with webview using Android Studio it already does research now I’m wanting to do a browsing history where are the sites that were entered, just like Google…
-
1
votes1
answer223
viewsHow to insert a CDATA type node in the xml generated by Cake PHP
With the code below XML in the CakePHP, however I need some nodes, have another CDATA type node. Example: <![CDATA[ Buscape Teste ]]> But I don’t know which parameter I have to pass for him to…
-
1
votes1
answer279
viewsHow do you create a javascript function to filter audio rss(podcast) for a project?
I have a question regarding how to create a function where I can filter the audio(.mp3),with a maximum amount of 5 audios from the feed. E titulo do áudio do feed RSS da parte do podcast da CBN:…
-
1
votes1
answer412
viewsI can’t get all the XML file data and save it to a txt
This is the XML: <cv> <pessoa id="1"> <dadosPessoais> <nome></nome> <sexo></sexo> <idade></idade> </dadosPessoais> <formação>…
-
1
votes0
answers508
viewsHow to mount an XSD from the wsdl query?
Objective: to assemble the XSD in blocks in the eclipse of the consultation to the webservice below: https://valadares.sigiss.com.br/valadares/ws/sigiss_ws.php?wsdl XML is generated: <definitions…
-
1
votes1
answer59
viewsNavigation between pages (Android)
using Android.App; using Android.Widget; using Android.OS; using System; namespace ValModas { [Activity(Label = "ValModas", MainLauncher = true)] public class MainActivity : Activity { protected…
-
1
votes0
answers99
viewsExport XML and XSLT report to Excel
I’m having trouble exporting a report I developed in XML and XSLT... I was already exporting the simple report done in HTML, but this week I started studying XSLT and I came across the problem to…
-
1
votes3
answers169
viewsHow do I identify the method or command in the code to display a data list in Navigationview?
I found this code on hithub about an embroidery viewer follows the project link, I tried to look in that app where is invoked method or command to display this data list follows screen prints to…
-
1
votes0
answers46
viewsXML validation in Cadprev
I urgently need to validate an xml in the Cadprev system, but I cannot find the problem in it that makes the message appear:" the chosen file is not in the format specified by the XML schema of the…
xmlasked 6 years, 5 months ago Cezar Nunes 11 -
1
votes2
answers1263
viewsSponse() in XML with Laravel
I have studied about developing Apis with Laravel, a quick question, it is possible to return an XML instead of a json? instead of doing: return response()->json($json); do something like: return…
-
1
votes0
answers73
viewsReturn content to client application with defined header
I have an application that returns JSON content from PHP to an HTML page, but I do this without defining the header, such as, for example : header('Content-Type: application/json');, that is, in the…
-
1
votes1
answer107
viewsXmltextreader.Getattribute returns the null value
I made a base code in XML and I would like to import the attributes and values according to the code: <?xml version="1.0" encoding="UTF-8" ?> <!-- MAIN SCRIPT FILE FOR JAVA 7u80 MINECRAFT…
-
1
votes1
answer31
viewsImages in Listview reloading every time I select Fragment?
I’m using the drawable batch to generate different images according to dpi. Each original image has a resolution of 1920x1080 with an average size of 350kb. However, an image with a huge size of 4mb…
-
1
votes1
answer760
viewsRequest permission to access Android internal storage by a Fragment
How do I make to request permission to access internal storage of the apparatus by a Fragment? In the normal Activity I used that code: int REQUEST_CODE = 0;…
-
1
votes1
answer106
viewsHow to convert JSON to XML in ORACLE 11g?
Good afternoon, I have a problem at work. Need to create a Function in oracle that performs the conversion of json to xml and show the result as table. I know version 12 of oracle does this easily,…
-
1
votes2
answers495
viewsHow do I read an XML with HTML markup
I have an XML where inside it has a complete table. How do I read this XML and already print this structure of Table in html? I am working in PHP XML <document page-count="1"> <page…
-
1
votes2
answers682
viewsExtract XML C#tags
I was able to get a tag, but I couldn’t find a way to take a tag that repeats itself and store each repetition in a list. XML example <casa> <porta> <janela>Janela 1</janela>…
-
1
votes1
answer34
viewsWhy does JSON or XML not work?
I got this guy: type S struct { a string `json:"a" xml:"a"` b int `json:"b" xml:"b"` c time.Time `json:"c" xml:"c"` } But neither JSON nor XML works: s := S{a: "Olá", b: 42, c: time.Now()}…
-
1
votes0
answers24
viewsDifference between + inside and outside DTD parentheses
Recently, I was developing a DTD to validate a data XML, and I was wondering if there’s any difference between these two expressions: <!ELEMENT examples (example+)> ("+" dentro dos parênteses)…
-
1
votes1
answer483
viewsLogin with JAAS + Tomcat
I did the JAAS configuration procedures in my JSF project, when I try to access it shows the information that user and password does not check, but I have already created the user table. xml…
-
1
votes1
answer65
viewsHow to rebuild the XML of a Fragment layout when it is expanded?
I have a screen with a Fragment, that without being expanded, it just shows the user and password field and the sign up button, and I wanted that when I expanded it, fields like name, date of birth,…
-
1
votes0
answers134
viewsXML deserialization in C# is returning null array even when XML has data
I’m trying to deserialize XML <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"…
-
1
votes1
answer49
viewsInclude Default XML namespace
Srs(as), good morning, I am generating an XML from the serialization of a class.Cs(schema) and the output is created xml (first example) . This will be exported to an external system, however they…
-
1
votes2
answers733
viewsSocial submission problems: Invalid event subscription
Using RobRichards, I am trying to get a positive response in sending the XML, but always accuses the message: "Invalid event signature. Suggested Actions: Check if there was event change after…
-
1
votes2
answers169
viewsHow to change attributes of all project Textviews at runtime?
I am implementing a visual settings section of a project and one of the settings should allow the user to change the fontFamily of all texts, there is also the option to leave all texts uppercase or…
-
1
votes0
answers30
viewsHow to handle XML content using Spring MVC?
I need to query data in xml format using SOAP and write this data to the oracle database, how can I do this using Spring MVC?