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
-
22
votes2
answers30102
viewsWhat is WSDL (Web Services Description Language)?
Related to: Web Service Type Differences: SOAP, REST, XML What is WSDL? What is your relationship with REST and SOAP? Where I find the WSDL documentation?…
-
18
votes4
answers8116
viewsWhy and when to use XML instead of JSON?
JSON has at least two advantages over XML: The Parsing is faster Occupies less bytes Still there are people who prefer XML. Is there any reason to prefer XML? Or in what situations it is most…
-
17
votes1
answer26770
viewsWhat is XML <! [CDATA []]> for?
In some examples of platforms, has among the tags the <![CDATA []]>, but what’s it for in XML after all? Template for an XML to be followed by a platform. <?xml version="1.0"…
-
16
votes1
answer24414
viewsWhat is Maven for?
I often find large projects that have the pom.xml file, but I never understood the usefulness of it, I just found out it’s something related to Maven. Finally: What is Maven for? What is the pom.xml…
-
14
votes2
answers14814
viewsWhat is the difference between an XML file and an XSD file?
We know that these two types of files are correlated - .XSD e XML. What’s the difference between the two? What good is a .XML(Extensible Markup Language) and the .XSD? It is possible to work with an…
-
14
votes2
answers1293
viewsXpath with Python
I have the following XML (simplified): <produto refid="cat01" idprod="tv01"> <marca>xxx</marca> <modelo>xxxx</modelo> <genero>xxx</genero> </produto>…
-
12
votes1
answer267
viewsHow to unify redundant XML namespaces?
I have the following XML: <?xml version="1.0" encoding="UTF-8"?> <DataTable> <Columns> <DataColumn xmlns:i="http://www.w3.org/2001/XMLSchema-instance">…
-
12
votes4
answers7973
views -
10
votes2
answers785
viewsHow to check if an XML file is valid with PHP?
As I understand the answers of this question from the OS, the XMLReader::isValid() checks "only the current node, not the whole document". What does that mean? In case I want to validate if xml is…
-
9
votes3
answers3926
viewsWhat is XHTML and when should it be used?
What I know is that XHTML needs to be valid XML. This implies, for example, that all tags need to be closed. For example: Errado: <br> Certo: <br/> But what is the use of it? What is it…
-
9
votes1
answer260
viewsDocumentation in XML
I develop a framework in PHP and would not like to comment on the code of the framework directly in the classes, for several reasons. So I wonder if there is an editor that reads the documentation…
-
9
votes2
answers2637
viewsWhat is the point and difference of using <![CDATA[]]> inside a <script> tag?
What is the point, or what is the difference of using or not the content of the script with this CDATA? <script type="text/javascript"> //<![CDATA ... //]] </script>…
-
9
votes1
answer585
viewsWhat are namespaces in XML?
Well, I understand the concept of namespaces in C#, C++, etc. But I don’t understand the concept of namespaces in WPF (XAML). I’ve been trying to understand the parameters xmlns in a XAML code. I…
-
9
votes2
answers4637
viewsWhat is the difference between "node", "attribute", "element" and "tag" in XML?
I am confused about some features and terms of the XML markup language that are: knot, attribute, element and tag, I would like to know what each of them is and what are the differences between…
-
8
votes5
answers989
viewsHow to remove an Element from an XML with Python?
The case is that I have a file produced by a Garmin (GPS exercise device) and I want to remove all fields related to the heartbeat to pass the file to an athlete who did the exercise with me. The…
-
8
votes3
answers16338
viewsHow to create and read an XML with Python?
How to create and read an XML with the component DOM in Python? And how to read an XML with the component cElementTree python?
-
8
votes2
answers4221
viewsWhat is the difference between SOAP 1.1 and SOAP 1.2?
When I use SOAP UI ( http://www.soapui.org/ ) and I refer to my asmx webservices, it always creates the interface of operations for SOAP 1.1 and 1.2. And I don’t understand what the practical…
-
8
votes2
answers6768
viewsRun something after inserting a certain number of characters in an Edittext?
I wonder how to limit characters and run something then on Android. For example, in a EditText or a TextView type 5 characters, when typing the fifth character executes a command, for example, it…
-
8
votes2
answers749
viewsRendering error - class could not be found: android.support.v7.internal.app.Windowdecoractionbar
In my project Android Studio is giving a rendering problem in xml, giving the following error: Rendering Problems The following classes could not be found: -…
-
8
votes2
answers764
viewsHow to generate Thumbnail of a Video for Android?
I’m developing an app for android, one of the screens of the same should generate thumbnails videos and display them in a list. Like the image below. I was able to generate thumbnails of images, but…
-
7
votes1
answer860
viewsSSIS loading entire XML before you start writing to SQL Server
I need to load a single large XML file (40GB+) into an SQL Server 2012 table using SSIS. I’m having problems because SSIS seems to be trying to load the entire XML file into memory before loading…
-
7
votes2
answers20732
viewsStatic search list using Javascript instead of PHP
In my work, I created pages as a static phone book to facilitate the search for them, but since there are many names, I would like to create a search field, but it is not possible to do this without…
-
7
votes2
answers787
viewsHow to build a complete XML in T-SQL?
I am working on a project that returns an XML field, so far not bad. The problem arises when I have initial data coming from a query and intermediate data coming from another query. I tried to solve…
-
7
votes1
answer20429
viewsXML file with no associated style information
What is the meaning of this message? This XML file does not appear to have any style information Associated with it. The Document Tree is Shown Below. I have this message in a dynamically generated…
xmlasked 10 years, 2 months ago Marcos Vinicius 7,188 -
7
votes5
answers1506
viewsRead XML file in C#
I’m having a problem reading an XML file in C#. In which this is a file of a pre-sale, and I am with the following situation: in my xml I will have several pre-sales, and each pre-sale may have…
-
7
votes2
answers1119
viewsManipulating XML with PHP
Could someone tell me how I do to get only the name value in the code below. index page. <?php $curl = curl_init('http://localhost/server.php'); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);…
-
7
votes1
answer3466
viewsHow to use include other Android Layout?
Hello I would like to know how to use the Include Other Layout and what it’s for.
-
7
votes2
answers4076
viewsSimple example of how to generate an XML file on Oracle
One would have a simple example of a PLSQL Procedure (or documentation location) to generate an XML file based on a Schema (xsd), the data would be generated from an SQL query. In reality archives…
-
7
votes2
answers7907
viewsConvert XML to PHP array
I’m fetching article names by this link:…
-
7
votes2
answers6930
viewsWhy doesn’t my image appear when running the app?
I have the following xml code in Android Studio: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android = "http://schemas.android.com/apk/res/android" xmlns:app =…
-
6
votes1
answer889
viewsUpload multiple files in PHP
I am developing an application in PHP where NF-e will be imported into the format XML. The problem is that the client will import multiple files at the same time, and I will have to take the data of…
-
6
votes1
answer181
viewsJAXB - Tag repeating, instead of nesting
I have a problem that I can not store more than one element in the same TAG, look at XML: <ItemCardapio> <nCdItemCardapio>10</nCdItemCardapio>…
-
6
votes3
answers285
views"Gambiarra" in C# with XML, I would like suggestions for improvement
I have this code without the "gambiarra", which returns the list with the repeated values: var s = (from p in xmlDoc.Descendants("pais") let Nomepais = p.Element("nome-pais").Value let nomeconsulado…
-
6
votes1
answer505
viewsHow to increase the text size of a Webview?
My app reads RSS feeds. but what bothers me is the letter that is small, I want to leave a little bigger that is visually "right" in a standard way. It’s like this: But I want to make it bigger to…
-
6
votes1
answer2687
viewsString signature in Base64
In my project, I have a rule that I need to sign the string of a XML that I have you on Base64 with the user’s CPF... I’ve been doing some research, but I couldn’t quite understand how this…
-
6
votes0
answers1142
viewsSigning Nfs-e in C# generates error Poorly formed Reference Element
out of nowhere my code in C# stopped signing the Nfs-e of Curitiba. In the code line below, gives the error: signedXml.ComputeSignature(); Errro Elemento Reference mal formado Does anyone know if it…
-
6
votes1
answer933
viewsInclusion billet box
Friends, I am trying to include a billet in the Box Webservice, however, when using the layout passed in the documentation, I am not successful. The error is this: (500 Internal Server Error)…
-
5
votes1
answer925
viewsHow to determine which HTML file should be displayed as input in Jersey?
I’m trying to find a way to provide a correct entry page in Jersey. A login page when there is no logged in user, otherwise I should display another homepage that will call Restful services…
-
5
votes4
answers1842
viewsHow to know the Kb size of a string?
I have a string which will be saved on file xml, and this file cannot be larger than 500 kb. How can I identify the size of the string which I will save on file xml? When the string is saved in the…
-
5
votes3
answers4187
views -
5
votes1
answer4479
viewsPortuguese dictionary online for performing requests
I am looking for an online dictionary in Portuguese that allows me to do requests as the example: http://www.exemplo-dicionario.com/dicionario?palavra=palavra-pretendida And answer the definition of…
-
5
votes1
answer761
viewsWhat is the best way to read an XML in PHP and insert it into the Database?
I am reading XML files of about 50M of information (a hundred thousand records, could be more), and I have two classes implemented XML reading one DOM and another SAX. I’m having a problem in terms…
-
5
votes1
answer606
viewsHow to configure Apache Log4j to write to the Bank through Hibernate?
I am starting to use Log4j from Apache and would like to know how to configure it by XML file to record the logs in the database using Hibernate?
-
5
votes1
answer2184
viewsNfs-e Belo Horizonte XML signature error
I am developing the integration of a system to issue Nfse to Belo Horizonte are happening 2 situations that only with this city that I developed are happening, we have integrated several…
-
5
votes1
answer4598
viewsGenerate Danfe from Nfe XML
I’m developing an application ASP.NET MVC with C# and need to transform XML from NF-e to Danfe in PDF, someone knows some component to it?
-
5
votes1
answer2701
viewsJavascript: how to count the characters of an html text?
The problem: I have formatted html text and I need to count how many characters (ringtones for journalists) I have. I will use Javascript. Some solutions came to mind, but as this will be done…
-
5
votes2
answers108
viewsPHP Ordination
I have a PHP code that pulls an XML and plays on the screen but I would like it to run in random order and not the order that is in XML. That’s possible? Code I’m using. PHP $xml =…
-
5
votes4
answers239
viewsIgnore class name in XML serialization
I need to serialize a class for XML, for example: public class Pessoa { public string nome { get; set; } public int idade { get; set; } public Endereco endereco { get; set; } } public class Endereco…
-
5
votes1
answer114
viewsLoad XML file stream in Xrrichtext
In my application, I receive a array of bytes file XML. With it I create a stream, but when I try to load it and insert it into XRRichText, nothing happens. However, the stream on a user’s computer…
-
5
votes0
answers63
viewsProgressibar with Steps position gets wrong
I’m having trouble leaving in the correct position of the flow with progress <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/checkout_hsv_scrollview"…