Questions tagged as 'xml'

0
answers

ScrollView with CardView does not work

I want to use a ScrollView to put in a CardView and a vertical button, I made this XML and if it compiles, but when it is time to test it on a device, the app closes immediately. The device on which I am doing the test is API 22: <?xml vers...
asked by 03.12.2017 / 00:58
1
answer

Extract CFDI XML Data in VB.Net

I'm doing a program where I extract data from an XML file and store it in a listView, the problem is that if it finds more than 1 attribute I have to repeat the value of the element in the next row or leave it blank. Annex my code, in which i...
asked by 15.12.2017 / 23:08
2
answers

Error to show an Activity, elements stacked position 0,0

Good morning, I am starting to work with the AndroidStudio tool (I am a total beginner) and I have a small "error" (I really do not know what it is). My design is like this: But when emulating the application, it is shown in this way:...
asked by 12.09.2017 / 05:41
0
answers

Python Convert string to base64

In python, I get the value of a tag from an xml file. In this case I get the value of the tag X509Certificate, now this value I want to convert it to a base64 string and then process it to an image. <ds:X509Certificate>MIIFDTCCA/WgAwIBAg...
asked by 02.12.2017 / 15:59
1
answer

Electronic invoice format

Good afternoon, Someone has an electronic invoice in XML format, I need to try a DIAN service and it is throwing me the error that the format is not correct. In the validation of the invoice I get these errors: But I really do not...
asked by 28.11.2017 / 23:54
0
answers

SchemaLocation must have even number of URI's

I am creating an electronic invoice but in the validation of it it tells me that it has this error:    Error in line (2): SchemaLocation: schemaLocation value =   ' link   ../xsd/DIAN_UBL.xsd   urn: un: unece: uncefact: data: specification:...
asked by 29.11.2017 / 14:40
0
answers

Q: How to create .xml files with custom name with javascript?

I am currently encountering the following problem: I have an SQL query that brings me data and stores it in a table, when I click on a button, it executes a Javascript that exports the information of the table to a .XML, but when exporting it it...
asked by 10.11.2017 / 21:29
0
answers

Deserialize XML

I have an XML: <clients> <client> </client> <client> </client> <current_page></current_page> <total_pages></total_pages> <total_entries></total_entries> <per_page&...
asked by 08.11.2017 / 16:16
1
answer

How can I compare 2 strings in an XML validator from Struts2?

Greetings to the community, my question is how can I compare two strings within an XML validator of struts2, I'm doing the prubeas in this way, but I can not recover the error. <validators> <field name="usuario.user"> <field...
asked by 10.11.2017 / 05:36
1
answer

Save data from a form in an XML with php

How could I save data from a form to an XML? The structure of my XML is as follows: <assessmentItems> <assessmentItem complejidad="3" tema="micologia"> <itemBody> <p>Que Amanita es comestible...
asked by 05.11.2017 / 13:10