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
answer84
viewsRead XML file, server returning error
I wrote a code to read RSS feed that works well. If you access this URL will see that returns an XML in the browser, but when running in my code generates an internal error on the server and do not…
-
2
votes0
answers155
viewsWSDL soap with PHP giving error
I have the following code try { $client = new SoapClient("link.wsdl"); $function = "METADOPRINCIPAL"; $arguments = array( 'METADOPRINCIPAL' => array( 'Msg' => array( 'Transacao' => array(…
-
2
votes2
answers1095
viewsHTTP Error 406 using Rest Delphi components with XML return
I am trying to consult an NFS-e with the REST components in the XE7, in the queries of type Json I could normally, but when the return is of type XML it gives error 406, I tried to send the Accept…
-
2
votes2
answers116
viewsHow to return a specific column as an element with FOR XML AUTO clause
I need to make a certain column an element in the return xml when I use the FOR XML AUTO clause. Auto-return transforms all fields into attributes of the corresponding element. All right, but either…
-
2
votes2
answers1143
viewsExtract and print specific xml values using Python
Hello :) I am trying to capture data from an xml to use in a search using python, but my algorithm is only returned the data from the last tags, example: The xml is found in…
-
2
votes1
answer66
viewsResponsiveness - Android studio
I’m having a layout incompatibility with other versions of android. on my android 8.0.0 the layout is like this On another mobile with android 4.4.2 I’m using recyclerview,grid,cardview dependencies…
-
2
votes2
answers1957
viewsbackground image of android screen
Good afternoon ! I am trying to put a background image in my application login screen, this image was downloaded from the site Unsplash, and when I put it in the background property of my layout the…
-
2
votes1
answer339
viewsSkip line in XML with PHP
I am trying to insert values in xml using php, and I wanted to skip line before inserting if the file already exists so that it does not overwrite what is already there. However the FILE_APPEND of…
-
2
votes2
answers451
views -
2
votes1
answer73
viewsRegex in word XML
I have an xml that came from a docx in this format: <w:p w:rsidR="00AE2D8E" w:rsidRPr="00AE2D8E" w:rsidRDefault="00AE2D8E"> <w:pPr> <w:rPr> <w:lang w:val="en-US"/>…
-
2
votes1
answer139
viewsReplace xml tag with nodejs
Hello, I would like a help to remedy a problem I am facing. I need to rename the tags of an xml file by nodejs. I thought about using regex, using Fs to read the file, but I got a little lost.…
-
2
votes1
answer78
viewsConcatenation of Records via FOR XML PATH - SQL SERVER
Good afternoon dear, I have the following problem: I am developing a Query where I need to verify which documents were delivered by the student, documents that are in the table pre_matricula_doc and…
-
2
votes1
answer71
viewsSELECT of Header and Items of an XML
Hello, How can I select one XML with header and items? I have it: DECLARE @XML XML = CONVERT(XML,' <ROOT v="2.15.0"> <LOTEANIH APP="00B1" LOTE="1"> <LOTEANIM ANIMAL="10" />…
-
2
votes0
answers45
viewsXML reading in VB.NET
Good morning gentlemen, I’m having a hard time reading some XML fields. For example, I am developing a sales software and at the time of reading the XML for printing it is pulling only one item…
-
2
votes1
answer828
viewsRead tag fields in XML VB.Net
Good morning gentlemen, I need to read a field that is inside an xml tag but I’m having difficulties, I need to do this to assemble a counter. My project is to read the XML of a sale and assemble a…
-
2
votes2
answers843
viewsGet specific XML tag with PHP
I get an XML file for a hosting directory and the file has the following structure: <categorias> <id_53>142</id_53> <id_89>346</id_89> <id_160>457</id_160>…
-
2
votes1
answer67
viewsATM simulator in Android Studio
I’m setting up a basic ATM simulator in Android Studio, where the user must enter the password, which is already pre-defined, in the case is "Java". If the password is correct, the message "Correct…
-
2
votes2
answers181
viewsReading and processing XML file from a CVE (Common Vulnerabilities and Exposures) database with Python
By using the Annexes lista.txt and cve.xml develop a Python script that: open and read the ". xml" extension file made available at the end; search the file for all occurrences of CVE ID in the…
-
2
votes1
answer73
viewsPlot horizontally (column by column) - Python
Good afternoon, my friends All right? I have an XML file from which I would like to remove the data as shown below and plot in columns, not row by row as the code is performing, in case the data…
-
2
votes1
answer27
viewsHow to just get the XML numbers
I want to only get the XML numbers with PHP: <?mso-application progid="Excel.Sheet"?> <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"…
-
1
votes1
answer693
viewsHow to generate Tremotable Class with XML Bind?
I need to generate the Tremotable classes of a SOAP Webservice based on an XML. I tried Delphi XE XML Bind but it generates interface with uses xmldom, Xmldoc, Xmlint.
-
1
votes1
answer360
viewsRepeat the animated background
I made an app with an animated background, here’s the code: Main layout: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"…
-
1
votes2
answers569
viewsHide and show the header of a listview when scrolled
I’m developing a app for Android using Android Studio, and want a listview with header where the header is hidden when the list is scrolled down, and it appears when scrolled up regardless of the…
-
1
votes3
answers2393
viewsXmldocument Exception: hexadecimal value 0x1a, is an invalid character
I have a project that reads an XML generated by another program in which I don’t have access to the source code. The problem is that the generated XML comes with a special character at the end, and…
-
1
votes2
answers682
viewsView of XSD
In our life of development we always face various challenges. Whenever I needed to visualize an XSD in the form of a diagram, I used the program XSD Diagram, see the image below: However, for a few…
-
1
votes1
answer43
viewsWindows Mobile 5 error read XML
I am in debt to get the values of the following XML <ArrayOf xmlns="http://schemas.datacontract.org/2004/07/WcfServicePedido_v7" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <V>…
-
1
votes1
answer319
viewsHow to make a query inside an XML file?
I need the value of <version> is returned to a variable in a WPF application. The XML file is on the server and contains: <?xml version="1.0" encoding="ISO-8859-1" ?> <Application>…
-
1
votes2
answers160
viewsHow to get the IP address from the nmap XML output with a specific "vendor" using Elementtree? in Python
Using the XML output from nmap for reachable virtual machines running on the same host machine - obtained with nmap -oX output.xml -sP 192.168.2.*, would like to get the IP address of each machine…
-
1
votes2
answers368
viewsOverride Xmltextwriter - Serialize Class for XML absolutely all attributes
I have my class: public class Pessoa { public int Id {get;set;} public string Nome {get;set;} } I’m trying to serialize for XML this class of mine. public static string CreateXML(object o) {…
-
1
votes2
answers2473
viewshow to extract zip files in c# to a folder where system is installed
How to Extract Zip Files in c# to a folder where the system is installed? using System; using System.IO.Compression; using System.Windows; using System.Xml; namespace TestXml { /// <summary>…
-
1
votes1
answer136
viewsSynchronization problem
This code worked on a Java IDE, but now on Android is not working. This program needs to get an XML dataset from a website and then move on to a spinner. import android.app.Activity; import…
-
1
votes1
answer71
views"Node is read only" error when trying to encrypt XML
I am trying to encrypt using XML, while running returns this error : the Inner text of Document Node is read only and cannot be set! Error happens on line xmlDadosCartao.InnerText =…
-
1
votes1
answer1041
viewsLoad and read XML via AJAX Cross-Domain
I have an AJAX Cross-Domain request that receives an XML. After a lot of work, I was able to download the XML but I don’t know if I did it the right way because it never arrives in Success. Follow…
-
1
votes0
answers55
viewsCan XML be considered a programming language?
XML can be considered a programming language? Or a database?
-
1
votes1
answer503
viewschanged the background of the button and stopped the action effect
I changed the background of my button to #000000 (black) and stopped performing the click demonstration (turned blue when clicked) <Button android:id="@+id/btNext2" android:layout_width="0dp"…
-
1
votes2
answers1713
viewsI need to squeeze my layout when I open the keyboard
I’m wearing a TableLayout that contain EditText, and when the focus is on EditText the keyboard opens and stands in front of important information, would like to be able to squeeze the layout when…
-
1
votes1
answer1274
viewsAdd buttons to the bar action when using Listactivity?
Well I have an application that would like to keep the standard format on all screens, i have a quick access menu with some items in the action bar, and other complete in the menu option. The…
-
1
votes0
answers155
viewsHow to replace an "import" statement within an XML schema with the XSD content to be imported?
I have the following XML Schema tag: <xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema20020212.xsd" /> And I’d like to know how to replace that…
-
1
votes1
answer102
viewsHow to handle a feed with . rss extension
I receive an XML via a feed URL with extension .RSS. I am trying to read the XML and was not successful. I tried it in the following ways: $url = 'http://www.feedaqui.com.br/recent.rss'; $xml =…
-
1
votes2
answers1380
viewsAccess Violation When Selecting XML File - Nfe
I’m trying to select the nós, but is making an error of Access Violation, what I could improve on this code so there is no error? procedure TfrmDataB.sbtnAbrirClick(Sender: TObject); var xmlNCab,…
-
1
votes1
answer1053
viewsHow to change only a part within xml using php?
I’m having a little trouble coming to that conclusion. I’ll exemplify, I have the fictional xml below: <url>http://www.example.com/TITULO<url/> I just want to change the title part, in…
-
1
votes2
answers5781
viewsHow to configure an image in Imageview so that it takes the entire screen of the phone
The following I declare normal to ImageView : <ImageView android:id="@+id/imageView1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/imagem"/>…
-
1
votes1
answer1441
viewsHow to blink button on Android.
Hi, I’d like to make a button(Button) flash on Android.
-
1
votes2
answers2456
viewsHow to call a sound when clicking the android button
Hello, would you like to know how to call a more efficient sound? 'Cause I’m using this method : Button button1; MediaPlyer mp; button1 = (Button)findViewById(R.id.button1);…
-
1
votes1
answer140
viewsWhich command to clear memory on Android
I am using Imageview which are called by buttons to load the image fills the memory by stating this error java.lang.Outofmemoryerror would have a command that would clear the memory.
-
1
votes3
answers12679
viewsHow to change the color of the boot via code on android?
How to change the color of the button via the code, because when touching the button I want it to change the color, the color is inside the drawable.
-
1
votes2
answers336
viewsAndroid: Problem searching last id inserted with Sqlitedatabase (ORM Lite)
I am having a problem executing a query (with Ormlite) that adds the return to 'ultimaConfiguration' in which you should get the last 'id' inserted in the Configuration table. the method that…
-
1
votes1
answer1370
viewsRecover XML Txmldocument at runtime (Delphi XE3)
I am trying to recover the XML data but I can’t , Txmldocument is being created dynamically and is probably missing some configuration, because when I am using it visually in the project I can…
-
1
votes1
answer574
viewsHow to use Reference in an XML signature?
Doubts about System.Security.Cryptography.Xml.Reference: What exactly is it for? How should I use Reference? What to assign to it? I need to use this in signing an XML Pq? And how to use? What to do…
-
1
votes1
answer403
viewsHow to pass an xml to foreach without using a file?
From the data returned by a query, I would like to generate an xml, but without saving it in file and go through the xml tags to handle the data in some way. I would like to know how to pass xml to…