Questions tagged as 'xml'

2
answers

ListView - No memory

I'm starting to make a dates app. But I start with the first problems. I create a listview (to add the birthdays) but when I close the APP all the stored information is deleted. My code: MainActivity: public class MainActivity extends Ap...
asked by 26.12.2016 / 22:54
3
answers

How to export all wordpress post to an XML file with php?

I would like to know if anyone knows how to export all the posts from my site in wordpress through PHP code, which will take data such as the title of the post, prominent image, content, put it in its respective label and save it in an XML file...
asked by 10.08.2016 / 06:30
1
answer

Mapping Mybatis with an Interface instead of an xml file

I'm working with mybatis, this is my configuration and it's working: mybatis-config.xml: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/myb...
asked by 25.01.2016 / 21:58
1
answer

Format an XML string

I usually do the following: XmlDocument document = new XmlDocument(); document.LoadXml("htts://example.com/documento.xml"); File.WriteAllText(@"C:\ruta\mixml.xml", document.OuterXml); and when opening the file, the result is that I get the...
asked by 09.12.2018 / 04:50
2
answers

Send Request after x seconds

Good morning, I am sending a request xml to a webservice through PHP, what I need is that if they have passed x seconds and no response has been received from the webservice, cancel that request and send me a different one, how can I do it? G...
asked by 20.11.2018 / 17:09
2
answers

IF sentence in xsl

I find myself making an if statement when the data is empty. this is the XML document ' <?xml version="1.0" encoding="utf-8"?> <document> <fields> <field id="HCR_S2_1_DIRECCION_PROPIEDAD" type="STGString">Avenida...
asked by 20.09.2018 / 14:24
1
answer

Mapping xml to Java Objects - Null Pointer in Class

I'm trying to map an xml to Java classes. It turns out that I get an xml input, and I need to break it down in classes. INPUT XML: <empleado> <nombre>juan</nombre> <segundo_nombre>pablo</segundo_nombre> &...
asked by 23.07.2018 / 19:17
1
answer

Parsing XML with simplexml_load_string in PHP

<Stat Type="Venue">Allianz Stadium</Stat> <Stat Type="City">Torino</Stat> The previous nodes belong to my XML file. the only thing I need to solve it's how I generate the exit and only show me Allianz Stadium. my cod...
asked by 01.08.2018 / 21:47
1
answer

Browse XML located in the console

I was making a request through AJAX and I found that I do not know how to handle the information that arrives afterwards. This request returns an XML (in the console) like the one below; which I can see by console or pass it to String format and...
asked by 04.01.2018 / 17:16
1
answer

How to get the label number one or an xml file in c #?

What I want is to get the children of my tag videos, which in this case would be Mathematics, but when I execute my code c # I get the children of my Mathematical tag, what is being Tema1. <?xml version="1.0" encoding="utf-8"?> <Video...
asked by 28.05.2018 / 22:39