Questions tagged as 'xml'

1
answer

Servlet JSP does not work

I have the following error in eclipse when running a servlet:    HTTP Status 404 - / TestJSP / web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java...
asked by 28.11.2017 / 17:36
1
answer

XML Query with Linq

I need to read a specific part of an XML (highlighted in red), and for this I'm using LINQ. I'm using the following code, but I do not think I wrote it in the best way. IEnumerable<string> teste = from item in XERetornoConsulta.Descen...
asked by 12.09.2017 / 17:30
1
answer

Read xml in Java

I'm using a program called Tiled (TileMap) to generate a map and I want to read those numbers. The xml is like this: <?xml version="1.0" encoding="UTF-8"?> <map version="1.0" tiledversion="1.0.2" orientation="orthogonal" renderorde...
asked by 12.09.2017 / 20:40
1
answer

Findall using ElementTree does not return expected result

I'm trying to find a specific element inside a python XML file. To do this, I use ElementTree. The following code: root = ET.fromstring(response.content.decode('utf-8')) print(root.findall('.//*')) Give me the following table as...
asked by 18.09.2017 / 16:25
2
answers

Handling XML with Javascript

I have a question and I already searched a lot and still could not solve. I have an XML with a tag called <child id='minhatag'/> . I need to have javascript read this tag and get me to return the value of the child tag ID so that...
asked by 21.08.2017 / 18:46
1
answer

Create buttons in a grid layout

I would like to know how to do an activity as a grid menu ... What kind of layout is most advisable? A relative , linear, grid or table ? Example of what I need: No need for banners, just the menu.     
asked by 28.08.2017 / 15:12
1
answer

Pass String to array (Xml);

I'm using this code to read a map from an xml file. private void loadMap(String mapa) { File file = new File(getClass().getResource(mapa).getFile()); try { dbBuilder = DocumentBuilderFactory.newInstance().newDocu...
asked by 13.09.2017 / 23:30
1
answer

What does ns3 and ns4 mean in an XML file?

<ns3:dadoTransporteTransportXml> <uuidDadoSerializado>5444429-da1cb4c9-ea75-4149-bb10-def6a6173731</uuidDadoSerializado> <tipoDadoSerializado>4</tipoDadoSerializado> <codIbge>4205407</codIbge> <...
asked by 14.07.2017 / 03:42
1
answer

RelativeLayout "anchored" at bottom of screen

Next I want to make this layout (from outer div id) below anchor at the bottom of the screen. But notice the following he is 0dp of height purposely, I do not want it to appear unless I click the button. So then everything works fine ... &...
asked by 14.07.2017 / 14:50
1
answer

How do I prevent the keyboard from playing with my layout?

How do I prevent the button from changing site when editText pulls the keyboard? Thanks in advance. xmlfromBhutan:<Buttonandroid:id="@+id/hora_picker" android:layout_width="300dp" android:layout_height="wrap_content" android:text...
asked by 07.07.2017 / 17:09