Questions tagged as 'xml'

1
answer

builder.parse return null nice soft

I have an error on the line Document doc = builder.parse(is);// doc = null; Where at the moment of using the builder.parse it becomes null which makes the error arise and is captured by the catch (Exception ex) saying that the doc is null,...
asked by 18.09.2017 / 22:21
3
answers

Extract data from an xml file in c #

I have an xml file from which I want to extract the concepts of an invoice <cfdi:Conceptos> <cfdi:Concepto importe="13000.00" valorUnitario="13000.00" descripcion="Servicio profesional médico" unidad="No Aplica" cantidad="1" />...
asked by 29.08.2017 / 00:31
1
answer

Response with special characters in xml

I am trying to make a request get to a web service using the module $http of angularjs , my code is as follows, (it is inside a factory): getCurrentPositionByClientName: function(){ var deferred = $q.defer(); con...
asked by 02.08.2017 / 20:36
1
answer

How to call xml while in the Lib \ xml folder?

Doing an exercise that starts with the following code: import xml.etree.ElementTree as ET tells me when executing it that it can not find the module.    Traceback (most recent call last):       File "C: \ Python27 \ xml1.py", line 1, in...
asked by 21.06.2017 / 12:58
1
answer

Read Xml Soap from a variable string php

I have a variable that collects the answer SOAP of the BBDD , and I need to analyze its content instead of making another request and consuming time. I'm implementing something like a "cache" and avoiding requests soap contin...
asked by 06.06.2017 / 13:04
1
answer

Instance element of an XML in Android

I have a method where I'm trying to instantiate a TextView to get its string string and be able to perform an update and display it on the screen. My problem is that I can not reference it, I have the code like that. private void actualizarInf...
asked by 28.05.2017 / 03:54
2
answers

PHP Xpath string to XML

I'm assailed by a doubt. I know that I can transform a string like: <nodo1><nodo_1_hijo></nodo_1_hijo></nodo> A xml with SimpleXMLElement. But will it be possible to transform an xpath to xml like the following?:...
asked by 19.05.2017 / 01:18
1
answer

Collect data from xml online

I explain a little what I want to do and what I have tried. I'm doing a java project with JSP from a betting page. So, I have an api of resultados-futbol.com that gives me all the soccer matches. This is the xml format. So my idea is to co...
asked by 22.05.2017 / 11:48
1
answer

Exception using Jaxb to build CDATA from my own bean

I have a problem trying to build a CDATA-XML from a created bean, the idea of the extends is that any bean can be converted since there will be several "templates" this is the code: Bean: TemplateGenerica public class PlantillaGenerica ex...
asked by 16.04.2017 / 17:34
1
answer

C # Unity, foreach of prefabs

Good morning. I have a function that reads data from an xml that is this: private string xmlPath; public XmlManager(string xmlPath) { this.xmlPath = xmlPath; } public Datos ReadXmlTest() { XmlSerializer serializer = new X...
asked by 30.03.2017 / 17:30