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
-
0
votes1
answer179
viewsWhat HTTP error code should I use?
The project has a login page with two email fields one and another that is your password! I have a Javaweb application and in the deployment descriptor I have some declared error pages, which are…
-
0
votes1
answer26
views -
0
votes0
answers23
viewsSelect in dynamic XML returning all possible values within the tags - SQL SERVER
i wonder if it is possible to select in an XML bringing all possible results within select and stored in a variable XML: <Nome>@PartyId</Nome><Nome>@CallId</Nome> The tag…
-
0
votes1
answer37
viewsNothing value in a query to an xml tag using Linq . net
I have the following xml: <ns1:TRetLote_GNRE xmlns="http://www.gnre.pe.gov.br" xmlns:ns1="http://www.gnre.pe.gov.br"> <ns1:ambiente>1</ns1:ambiente> <ns1:situacaoRecepcao>…
-
0
votes1
answer44
viewsXML repeats record when generated in PHP
I have a PHP script that generates XML file, but something very strange is that it repeats several records of my real estate table and the worst thing is that there are no repeated properties.…
-
0
votes1
answer232
viewsTake the name of an item within an array in strings.xml
I have the following array: <array name="Codes"> <item name="Vermelho">e74c3c</item> <item name="Azul">3498db</item> <item name="Rosa">FC14E5</item>…
-
0
votes1
answer442
viewsI can’t save the information in the bank
I wonder if there’s something wrong: if(isset($_POST['notificationType']) && $_POST['notificationType'] == 'transaction'){ //Todo resto do código iremos inserir aqui. $email = 'douglas@...';…
-
0
votes0
answers700
viewsNfe XML Parser for Object
I am trying to parse an Nfe XML parser for the Tnfeproc object, and I always get the error: java.lang.IllegalArgumentException: can't parse argument number: {0} at…
-
0
votes1
answer49
viewsHow do I click an Imageview that doesn’t interfere with the application?
I have a Linear Layout <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/linear" android:orientation="horizontal"…
-
0
votes0
answers430
viewsHow can I implement Fragments on my Drawer menu
I’m trying to use the example of NavigationDrawer android Studio. I even managed to understand the code, I remake it in my project, but I can’t change the Fragments when some menu item is triggered,…
-
0
votes1
answer726
viewsRead Feed (rss) description with PHP
I’m trying to get a description of feed to display on a site I have to do, but when trying to catch it returns to me as empty. When I see the source code of the link that the feed is in, the…
-
0
votes2
answers60
viewsHow to capture all images from an image field in XML to write to MYSQL?
Good Afternoon! I need to capture in PHP all the images contained in the XML image field below to write to MYSQL, as I do? <Media> <Item…
-
0
votes1
answer40
viewsImport XML into Wordpress cuts the permalink address
I don’t know why you’re like this. I have the latest version of XAMPP, and use wordpress 4.5.2. I’ve assembled an xml file with all the posts I need to import, but when I import it cuts the middle…
-
0
votes2
answers1128
viewsHow to upload this Header using Nusoap PHP?
Guys I’m trying to authenticate in a WS but I’m not getting it, I can connect and generate a token, but when trying to do other operations with token received I can’t fill the header and validate…
-
0
votes1
answer479
viewsIntegration between systems with PHP
I need to provide a service for other systems to consume. These systems can make requests POST (string, array, xml and json) and GET. Well, I know I can consume services from other systems using GET…
-
0
votes0
answers79
viewsHow to use the contenttype sent by the client on the server
Good afternoon! I am trying to understand the workings of contenttype. As far as I know, I would be telling the server to use the formed JSON UTF8 to correctly encode the data I am sent.…
-
0
votes1
answer284
viewsSlim Framework simplexml_load_string parser error
My application sends a string in XML format to the server. $(function() { var xml = "<?xml version='1.0' encoding='UTF-8'?> <note> <to>Tove</to> <from>Jani</from>…
-
0
votes0
answers107
viewsFusioncharts caption problem
I have a project that uses the Fusioncharts tool (Version 3.2.1). I need to generate a graph, but regardless of the title (caption) that I use, it always cuts, and replaces with the sequence "...".…
-
0
votes2
answers124
viewsReturn XML string in WCF
I need to send the result of this XML by a WCF method. <?xml version="1.0" encoding="utf-8"?><Siape> <matricula>8707350</matricula> <matricula_inst />…
-
0
votes2
answers377
viewsError reading XML file
Good people, every time I put to read an XML file on my localhost to return some XML response, everything works fine but, when I host this page, it gives error. What can it be? The error that…
-
0
votes0
answers1061
viewsSend XML via POST
I have the following example to send XML via POST: public string EnviarXmlSoap(string methodName, string body) { WebRequest webRequest =…
-
0
votes1
answer132
viewsSpring Security 4, Hibernate 5 and Wildfly 9 not log
Good morning, folks, I’d like to ask for your help. I created a project with Spring Security and Hibernate 5 and I’m trying to get Spring to manage my transactions with Hibernate, is already opening…
-
0
votes2
answers488
viewsDoes not load Splash for iOS in Phonegap Build
Hi, I’ve tried several ways to build an app for iOS using the Phonegap Build. The app is generated normally. First the problem was the icon, always appeared the default icon of Cordova. I was able…
javascript xml apache-cordova ionic phonegap-buillderasked 8 years, 2 months ago gabrieloliveira 248 -
0
votes0
answers251
viewsXML layout with problems
I have a problem, I have a layout with some fields Edit Text, what happens is that the Scrollview that I use works for all fields of Activity except for the button that ends up going down the…
-
0
votes0
answers391
viewsPLP SIGEP Streamreader Error
I’m integrating into my system the Webservice SIGEP, with closure of PLP. I am having a problem posting the XML closing PLP. I get the error: STREAMREADER ERROR All other functions work properly.…
-
0
votes0
answers68
viewsI want to receive an xml from webservice on android
I’ve tried everything, using the HttpURLConnection , with the HttpClient that is deprecated, these two options do not end, stop at the BufferedReader. I’ve tried to use AsyncTask with the…
-
0
votes1
answer1242
viewsHow to display XML data in an HTML table
I would like the XML data to be displayed in a common HTML table with TR and TD, because with the code I’m using the information gets confused. Follow the code I used: $(function(){ $.ajax({ url :…
-
0
votes1
answer95
viewsError while consuming Glassfish + Jersey REST web service with date that returns an xml
I need to consume a web service (WS) REST on my android app. The web service was done with glassfish, jersey and the Hibernate ORM to communicate with the database. Below is the WS code: Vegetarian…
-
0
votes0
answers875
viewsXML Delphi - Mismatch in datapacket
I am evaluating a system made in Delphi 6, which basically uses a Tclientdataset to open xml files. This system already works for a long time and is Ok, only one xml file is indicating the error of…
-
0
votes1
answer151
viewsxml error Annotation
I’m having a problem when running my program and have no idea what might be wrong, I made a Java program with Annotations. Would anyone know to tell me? [Fatal Error] :8:83: The "Property" element…
-
0
votes2
answers542
viewsXML returning empty in PHP
Good afternoon, I’m doing consultations on a central bank webservice and am encountering some difficulties. The return of the query is in XML and I must send the authentication to receive this data,…
-
0
votes0
answers260
viewsConsuming XML data via Ajax
I need to consume the data of an XML via AJAX but Firefox always returns an error of "incorrect formatting" and does not print anything on the screen. The same AJAX runs smoothly in Chrome, but…
-
0
votes1
answer114
viewsHow to include selector next and Prev on XML elements
I’m having trouble eliciting XML elements on flow control Prev/next, what I have is: Code function mostrar(i) { var txt, parser, xmlDoc; txt = "<carta>" + "<para>Marcos</para>" +…
-
0
votes1
answer313
viewsRegular expression in XML string
Hello, I’m using a PHP library to generate words with some parameters. The library is Phpword, when I upload a file (DOCX) it opens the Document.xml file inside the DOCX archive. Example: <?php…
-
0
votes2
answers1978
viewsTextview - Leave only one word in Bold
I have a TextView which displays the following text on the screen: Like this: value: PROMOTION! As I wish: value: PROMOTION! Has as put Bold in just one word from TextView? I mean, there’s a way I…
-
0
votes0
answers36
viewsChanging the names of XML nodes and subnodes coming from an array
I have an array, which I want to transform into an xml document, I already managed to create it but I can’t change the names of some nodes and subnodes, follows an example of an array to be…
-
0
votes1
answer72
viewsHow to get the first 5 xml records?
<?php $xml = simplexml_load_file('http://g1.globo.com/dynamo/economia/rss2.xml') or die("erro carregar arquivo"); foreach ($xml->channel->item as $noticia) { …
-
0
votes2
answers112
viewsHow to select the first xml element
I have the following xml: <SONG> <PLAYEDAT>1487812025</PLAYEDAT> <TITLE>John Legend - Love Me Now</TITLE> <METADATA> <TIT2>John Legend - Love Me…
-
0
votes1
answer1002
viewsImport decimal with comma
On SQL Server, I’m trying to run a SELECT in a *.csv file as follows: SELECT * FROM OPENROWSET(BULK 'C:\Minha_Pasta\meu_arquivo.csv', FORMATFILE = 'C:\Minha_Pasta\format.xml') AS Contents…
-
0
votes1
answer75
viewsError in site map xml
My site-map is giving the following error XML Parsing Error: XML or text declaration not at start of entity Location: http://amadeuantunes.com/site-map.php Line Number 4, Column 1:<?xml…
-
0
votes1
answer457
viewsChanging an attribute of an XML element
I have the following XML: <?xml version="1.0" encoding="WINDOWS-1252"?> -<NewDataSet> -<xs:schema xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"…
-
0
votes1
answer286
viewsError reading XML with JAXB: all null items after Unmarshal
I have a simple XML stock file with the following format: <?xml version="1.0" encoding="UTF-8"?> <estoque> <item Nome="Impressora XL2N" Peso="13 kg" Armazem="8" Quantidade="12"…
-
0
votes2
answers368
viewsHow can I extract the information from an XML that is stored in a String?
I’m consuming this one xml of a api and storing its contents String Its structure is this way: <opml version="1"> <head> <title>Título</title>…
-
0
votes1
answer79
viewsThis operation would create an incorrectly structured document. Xdocument
I’m trying to create an XML, but I’m not getting it. I want it to have this format: <item> <linktext></linktext> <etc..></etc...> </item> I can add one item, but…
-
0
votes1
answer302
viewsClass 'Simplexmlelement' not found
As debug of cakephp in the Snippet down below: p.error { font-family: Monaco, Consolas, Courier, monospace; font-size: 140%; padding: 0.8em; margin: 1em 0; } .success, .message, .cake-error,…
-
0
votes1
answer53
viewsError when placing list on Android
I’m starting now with the development for Android. I tried to put together a list but it’s not working. Preview only appears Item 1, Subitem 1. Follow the . Java public class Lista extends…
-
0
votes1
answer742
viewsConverting a text file to XML with Python
Imagine I have the following command: echo -e "`date`\n\n`free`\n\n`vmstat`\n" >> free_vmstat_output.txt the generated file (the output of the above command) would be (in TEXT mode): Fri Mar…
-
0
votes1
answer28
viewsComparison of ID in XML elements
I’m doing a check between 2 ids of 2 different elements in XML, but when I make the comparison the result is always false even though the gettype is the same result and the number is also the same…
-
0
votes1
answer110
viewsHow to use Foreach with xslt in an xml file
I’m having trouble using a file ".xml" and an archive ".xslt" Follow the code below: listAlunos.xml <?xml version="1.0" encoding="UTF-8"?> <listaAlunos> <aluno>…
-
0
votes1
answer212
viewsFormat xml in php to write to Mysql?
I need to format a xml in php to record on MySQL, but I’m having a hard time understanding it and even doing it. Today I have this xml: <?xml version='1.0' encoding='UTF-8'?> <api>…