Questions tagged as 'xml'

1
answer

XmlTextReader.GetAttribute returns the null value

I made a base code in XML and I would like to import the attributes and values according to the code: <?xml version="1.0" encoding="UTF-8" ?> <!-- MAIN SCRIPT FILE FOR JAVA 7u80 MINECRAFT SERVER --> <params count="3"> <...
asked by 16.10.2015 / 19:13
1
answer

Abstraction of code with several Replaces

I have this code block: xml = xml.Replace("<html>", ""); xml = xml.Replace("<head>", ""); xml = xml.Replace("</head>", ""); xml = xml.Replace("<body>", "<certidoes>"); xml...
asked by 15.07.2015 / 14:51
1
answer

Logic to inhibit registration permanently

I have a "problem" and I can not think of anything to solve it so I would like your help. I have a desktop system that is the intermediary between the server and my web system. This desktop system makes two queries in the database every hour and...
asked by 09.06.2015 / 13:41
1
answer

Passing txt to xml in java [closed]

Hello, I have a problem in a txt file, I need to pass it sorted to xml, but this txt file is sorted in a very strange way. Nº Estado Civil Grau de instrução Nº de filhos Sálario Idade anos meses 1 solte...
asked by 25.03.2015 / 18:55
2
answers

Read remote xml file

How can I read an xml file that is generated online, is a file generated by my provider, link . It is generated only through my website but how can I read it and write to a database?     
asked by 11.08.2015 / 17:44
2
answers

I need to squeeze my layout when you open the keyboard

I'm using a TableLayout that contains EditText , and when the focus is on EditText the keyboard opens and stays in front of important information, I'd like to be able to squeeze the layout when I open the keyboard. For my ent...
asked by 22.10.2014 / 19:04
2
answers

Android custom listview working but with problems

Hello, I am doing a binding and I have only one of the properties of my Model that are appearing in my listView. Here is the code: Adapter: public class ProjectAdapter extends ArrayAdapter<Project>{ private List<Project> _p...
asked by 14.08.2014 / 18:25
1
answer

Load and read XML via AJAX Cross-Domain

I have a Cross-Domain AJAX request that receives an XML. After a lot of work, I was able to download the XML but I do not know if I did it correctly because it never arrives at success . Here is the requisition code: function refreshPage() {...
asked by 09.05.2014 / 21:51
2
answers

How to get the IP address from the XML output of nmap with a specific "vendor" using ElementTree in Python

Using the nmap XML output for reachable virtual machines running on the same host machine - obtained with nmap -oX output.xml -sP 192.168.2.* , I'd like to get the IP address of each machine whose "vendor" attribute is QEMU Virtual NI...
asked by 10.03.2014 / 22:34
2
answers

Override XmlTextWriter - Serialize Class to 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 to XML this my class. public static string CreateXML(object o) { XmlSerializer xmlSer...
asked by 11.03.2014 / 21:00