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
-
5
votes1
answer230
viewssimplexml_load with xmlns problem
Well I have done everything I knew but is giving an error saying xmlns is not absolute. I have checked the xml and is correct now when simplexml_load_string(): namespace Warning : xmlns: URI…
-
5
votes2
answers219
viewsRegex to search for word inside tag with CDATA
I have a file that contains the following string possibilities: 1st Case: <text><![CDATA[Casa]]></text> 2nd Case: <text><![CDATA[Qualquer texto que tenha Casa no…
-
4
votes2
answers1164
viewsHow to identify if an XML is GOOD?
I have the following problem regarding XML encoding: Erro: Byte inválido 2 da sequência UTF-8 do byte 3. This error occurs when trying to canonize an XML. I don’t know exactly what the error might…
-
4
votes1
answer1385
viewsHow to change the value of a string in XML?
There is a way to change a string value in XML. I know how to get the value through getResource().getString(R.string.value); but I don’t know how to change the value directly in XML. Is this…
-
4
votes1
answer832
viewsHow to implement a chart using amCharts?
I am trying to implement a bar/column chart using the tool own amCharts that uses XML, but I’m not able to edit it to get a specific bar. What would be the simplest solution for implementation using…
-
4
votes3
answers1073
viewsC# update XML based on another XML
Today I have the following XML structure: <ROOT> <TES IDTES="4780" IDPES="17522" /> <TES IDTES="6934" IDPES="12343" /> <TES IDTES="4781" IDPES="17523" /> <TES IDTES="6935"…
-
4
votes1
answer90
viewsXML duplicating the reading of the results
I have a XML: <paises> <pais> <nome-pais>África do Sul</nome-pais> <consulados> <consulado> <nome-consulado>Consulado da República da África do…
-
4
votes2
answers299
viewsGet XML tag data
I have an XML with the following format: <dados-cad> <nome>Wender</nome> <data>2805094</data> <code>311</code> </dados-cad> How do I in PHP to get…
-
4
votes1
answer640
viewsFilter certain elements of an XML
I have the following weather forecast report generated by a third-party API: http://api.openweathermap.org/data/2.5/forecast?q=qTubar%C3%A3o,br&mode=xml If you repair the structure well we have…
-
4
votes2
answers2204
viewsHow to make SVG image fit the size of a DIV?
I have an image SVG of more or less 100 lines and 60 paths and need it to fit to any block node, such as a div for example. I tried to put a class css in the tag svg and adjust the width for 100%…
-
4
votes3
answers1277
viewsReading in Delphi XML generated in Excel
I am generating an XML by Excel itself (file type XML Sheet 2003). The generated file has the following XML data standard: <Row> <Cell><Data…
-
4
votes1
answer139
viewsConvert an XML file to BSON
I have a Complex Xml that contains "children" nodes and I need to convert it to BSON. I’m using VS 2013 (C#).
-
4
votes3
answers5382
viewscapture information from websites
How do Buscapé and other sites manage to get the information from the sites? is through the Curl or an xml that stores websites make available?
-
4
votes1
answer446
viewsEncrypt XML with TJMG Public Key
I need to encrypt this XML <?xml version="1.0" encoding="utf-8"?><Selos>…
-
4
votes1
answer937
viewsProblem with 8 digit hexadecimal colors - Android
I am working on an app where I am trying to follow Google’s Material design guide. On this page, it is recommended to use the black color (#000000) with 87% opacity as the color of the main texts.…
-
4
votes2
answers312
viewsProgramming for Android with multiple screens
When I program for Android, I think of portability with the most diverse devices on the market. Seeing the layout of my Activity principal, I noticed that in devices with small screen (I did the…
-
4
votes2
answers3259
viewsWeather to include on the site
Someone would know me informs me where could find an xml or some script to insert the forecast of the beach Climatempo tidal tablet on my website? I need something like this site:…
-
4
votes2
answers79
viewsReusing string in XML
Ex.: <?xml version="1.0" encoding="utf-8"?> <resources> <string name="primeiro_nome">Bigown</string> <string name="nome_completo">{primeiro nome} Silva</string>…
-
4
votes2
answers374
viewsIs it possible to build a pure HTML register?
I need to create a register with name and description in HTML, or PHP, that does not make use of a database but I do not know if it is possible. Something that can store the records on file and also…
-
4
votes2
answers695
viewsWeb scraping with pure Javascript
I want to make a web scraping that reads an XML page and takes a certain value that is in "name", but, I do not know exactly if it is possible - I only found in how to do with Nodejs -, is it…
-
4
votes2
answers3630
viewsHow to center a Textview?
How to center horizontal text on TextView that is to center on the top and bottom line. <TextView android:id="@+id/txt" android:layout_width="match_parent" android:layout_height="match_parent"…
-
4
votes1
answer1197
viewsWhat is the prefix attribute for in the html element (tag)?
Why do you use the prefix attribute on elements (tag) html? And in HTML5, can I also use it? Thank you! <html prefix="og: http://ogp.me/ns#">
-
4
votes1
answer476
viewsREST - Http x Json
I did some research and have some questions about REST: Http is Rest? JSON and XML are only the return format of a Rest operation? REST x Web Services: are the same things? SOAP would be the…
-
4
votes1
answer4186
viewsXML with Javascript
I am in the last days searching in Google something that serves to read a simple XML file and display in an HTML page using pure javascript, do not want to use Jquery, just javascript. I would like…
-
4
votes1
answer105
viewsTyping box
I want to implement in my application the similar model of google Contacts. I’ve tried to put app:civ_border_width="1dp" in xml but also failed. I would like to do the same image below:…
-
4
votes1
answer1817
viewsHow to check the status of Paypal transactions by URL
Is there any way to return information from a transaction via id transaction in Paypal? Example (API Pagseguro):…
-
4
votes1
answer251
viewsReturn multiple attributes using XPATH
How can I return multiple attributes using the xpath language? For example this xml: <utilizador> <nome>Rui</nome> <contacto>91xxxxxxx</contacto>…
-
4
votes2
answers215
viewsProblem with XML Linearlayout
I’m having a little problem with my layout. I wanted to insert a button that would be at the bottom corner on the right side of the layout, but when I do this the button is added to each item in the…
-
4
votes1
answer330
viewsHow to receive external data via XML
I am creating an android app and I need it to receive and show on the screen information of the tide board of the site below: http://servicos.cptec.inpe.br/XML…
-
4
votes2
answers620
viewsValidate xml file before updating database
I have a file upload system that when sending the xml file it sends the insertions and updates in the database, but if a file with the different structure is sent I get errors. I have already found…
-
4
votes1
answer934
viewsHow to add button in Maps?
I selected a Google Maps Activity when creating the project, as I added this button in the layout? <Button android:id="@+id/btn_draw_State" android:layout_width="40dp"…
-
4
votes3
answers3047
viewsUnfulfilled Nfe XML
Well, I’m trying to do the reading for import of XMLs of the Electronic Tax Notes and I’m having a lot of difficulty in disemboweling the ICMS of the blessed. No problems to reach the object ICMS:…
-
4
votes2
answers2038
views -
4
votes1
answer215
viewsError when trying to extract table from a site by R, how to resolve?
I’m using this code, I want to import the country table to the R: library(XML) url <- "http://en.wikipedia.org/wiki/List_of_countries_by_population" country_data <- readHTMLTable(url, which=2)…
-
4
votes7
answers185
viewsCapture year outside the regex
I am working with a text file using the sublime I want to replace some strings where: I have several strings like this: EMISSAO="2016-04-18 00:00:00" I need a regex that captures where the year is…
-
4
votes2
answers376
viewsWhy is JSON not considered a markup language? And why is XML?
I was researching the differences between JSON and XML so I read that XML is a markup language but I didn’t read anything about JSON.
-
4
votes1
answer127
viewsHelp with logic
I have a method that reads several tags from a file . xml and returns a list filled by the data read. Problem: Each xml file has several batches and within the batch has several tabs, for example, I…
-
4
votes2
answers1183
viewsMy layout does not render
I was watching and copying a code from the first class of Material Design of the Thiengo Calopsita youtube, It turns out that the file xml of activity_main and of toolbar_bottom is not rendering in…
-
4
votes1
answer242
viewsWhat is the difference between Xmldocument and Xelement?
I’d like to know the difference between Xmldocument and Xelement.
-
4
votes1
answer107
viewsbRasilLegis - XML content does not Seem to be XML
I’m trying to lower the votes of Members to the propositions in votes held in the Plenary of the House of Representatives, in 2015, through the package bRasilLegis in R. But when I put the…
-
4
votes0
answers853
viewsPost Office - PLP XML
In the Postal web service there is a process of sending plp (pre-mailing list), which contains information of the postal objects. I’m sending this plp by the method fechaPlpVariosServicos. But when…
-
4
votes1
answer145
viewsGenerate XML content HASH in SQL
Is there a way to generate the hash of a XML beyond the function master.sys.fn_repl_hash_binary? Currently this is my implementation, however, I do not know if it is the only way to do. --Preparação…
-
4
votes2
answers1829
viewsGenerate Secure API Subscription
Well, I need to generate subscription via pagseguro API, user should be redirected to the pagseguro page and when finished return to my page, this should be via API. I tried through XML, with the…
-
4
votes1
answer134
viewsBulk Substitution in XML
Good morning! I have a program that check some signals, but in the code is indicated only which signal should appear, so I must apply the specific information that should be checked. But manually…
-
4
votes1
answer122
viewshttps (webservice) requisition from the São Paulo Public Treasury
I’m trying to make a request https the Webservice of the São Paulo Public Treasury, but I don’t know where I’m going wrong. This is the address: http://www.fazenda.sp.gov.br/contas/webservice.shtm…
-
4
votes2
answers177
viewsC# - Problems reading data from an XML returned from a site
I want to take the Location of an external IP and for that I used a site where I simply put the IP I want and it returns the XML with the information. Example: freegeoip.net/xml/4.2.2.2 that is to…
-
4
votes2
answers690
viewsReturn xml to preview browser Asp.net mvc
I have the following situation, I need to provide an XML file to be viewable in the browser, without the user needing to download the file, I do this by saving the file in a directory and then I…
-
4
votes2
answers2954
viewsSearch XML field information in SQL
I need to perform a search inside a field where it stores an XML The XML is from a CT-e and in it has a series of tags and I need to find a data within a specific tag. Below the structure of the…
-
4
votes2
answers52
viewsHow to search for specific data on the same line?
I’m reading a file XML where I have to take the values of certain data that are on the same line, example: I have the following line: <"Row GenericKitName=\"12000\" QueryID=\"999\"…
-
4
votes1
answer129
viewsHow the XPATH contains function works
I have a xml thus: <?xml version="1.0" encoding="UTF-8" ?> <A x1="ab"> <B x1="abb"> <C x1="cc"> Marta </C> <B/> <B x1="be"> <C x1="be"> João…