Questions tagged as 'xml'

1
answer

Write XML file on server via JS

I have an HTML page in local, with one of its pages that contains a form that has to modify an XML file that is part of the project. The file is part of the page, not the machine that was a client. The XML should be recorded as a file, not as a...
asked by 29.03.2017 / 12:24
2
answers

Collect data of a variable C #

Good morning. I have the following code that reads an xml, and collects the data and stores it in a variable. private void leerxml(){ xElement rootnode= xelement.load(@"C:/xml.xml"); foreach (xElement chlid in RootNode.Elements()) {...
asked by 28.03.2017 / 22:54
1
answer

symfony validate gpx file (variant xml)

I'm trying to filter the upload of a file through the form. The type of file I work with is .gpx (gps positions). Internally it is an xml file, but its mimetype is application / gpx + xml. I have put the following in the validation.yml file a...
asked by 22.03.2017 / 11:13
1
answer

Moving image

What is the best way to make a moving image on Android? I have read that GIF is not recommended ... So what would be the best option? I need to upload from here    .image (R.drawable.ImagenNueva) An image that has movement, I do not car...
asked by 25.02.2017 / 23:35
1
answer

Set up XML from PHP

How I can extract the XML and add an ID so that it is in a format that is pleasing to the eye. Example: <metadata> <data>Dato1</data> <data2>Dato2</data2> <data3>Dato3</data3> <metadata&...
asked by 23.01.2017 / 17:01
1
answer

Exception in thread "main" java.lang.ExceptionInInitializerError - Hibernate with IDE Eclipse

I can not give in the key with the error. This is my file hibernate.cfg.xml <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "htt...
asked by 31.01.2017 / 05:20
1
answer

Add a New Fragment and link it to the Drawer menu (Android)

I am trying to edit an android application, at the moment it works very well, but I have seen the need to expand its functions. What I want is to add a new fragment to the application. The application already has its Drewer defined as follows...
asked by 15.07.2016 / 20:08
2
answers

Make a filter in my listbox search by word

This is a program to show the xml in a listbox : public partial class Form1 : Form { List<string> list = new List<string>(); public Form1() { InitializeComponent(); LoadSprites(); list.Cle...
asked by 27.07.2016 / 20:39
1
answer

Error Fragment-Activity Android Studio Button

I have an activity (main activity) with a Start button and a floating actin button (the +), this activity has a menu and each of the sections are fragments. The fact is that in all the fragments of this activity I get that button and I can not d...
asked by 01.01.2019 / 21:42
0
answers

Custom Tag in xml template

I try to create a custom tag or custom tag but for an xml, I do not know if the error is because it is only for html or I am doing it wrong this is my code: from django import template register = template.Library() @register.assignment_tag...
asked by 20.12.2018 / 17:51