Questions tagged as 'xml'

2
answers

Line break of a second android textview

I have two textview on the same line, the two textview do not have static content, the problem comes when the second textview is loaded with the data, it takes the second line but not from the left completely. I hope you can help me. The...
asked by 01.08.2017 / 21:15
1
answer

Doubt with xml and laravel

Good, I'm new to the framework, I have a question about an XML that I'm doing in a project that is laravel, the detail is that I'm doing it entirely with php but when I want to visualize what I've done, I can not . here I leave my code <...
asked by 25.08.2017 / 00:20
1
answer

Exception: java.lang.ClassCastException: weblogic.xml.jaxp.RegistrySAXParserFactory can not be cast to javax.xml.parsers.SAXParserFactory

When I deploy my Web Application in the WebLogic it sends the following error:    exception java.lang.ClassCastException:   weblogic.xml.jaxp.RegistrySAXParserFactory can not be cast   javax.xml.parsers.SAXParserFactory Someone could pl...
asked by 11.10.2017 / 20:30
1
answer

Modify the colors.xml file of an android project from an external xml

I have this xml in my android project /res/values/colors.xml : <?xml version="1.0" encoding="utf-8"?> <resources> <color name="colorPrimary">#77ac5f</color> <color name="colorPrimaryDark">#558...
asked by 08.06.2017 / 13:22
1
answer

Import an XML with a colon (:) in the xpath

I'm trying to import an XML into a Google spreadsheet with importXML . I can extract all the fields as: =importXML( URL, "//item/loquequiero") But with the fields that start with g: I get an error and I do not understa...
asked by 09.03.2017 / 17:53
2
answers

Limit height of a Spinner from Layout

How can I limit the height of a Spinner from the layout where I have it? The problem is that on devices with smaller screens it has too much height , so I need to change it from layout layout <Sp...
asked by 13.03.2017 / 23:09
1
answer

Read large text files quickly

I have a big problem reading / parsing large text files. The issue is the following are files that have many lines, about 150k lines and I have to read them and then parsed the information. I do it by means of a fread, reading ALL the file and t...
asked by 18.04.2017 / 15:13
1
answer

Escape CDATA into another CDATA in XML

I have an XML inside a CDATA, I need to know how to escape the CDATA inside, so that the father does not cut himself when closing the first child. <![CDATA[ <?xml version="1.0"?> <API> <PARAMETRO1><...
asked by 07.03.2017 / 13:40
4
answers

Convert xml to array or json in php

Can you please help me to convert some data that I have in xml to json or to an array in PHP? This xml I consume it from a web service and when using a var_dump or echo I confirm that I do have an answer and the data that I require, however,...
asked by 15.12.2016 / 20:36
1
answer

add element within another XML element DOM

this is my code: public class agregar extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { try { String nombre= request.getParameter(...
asked by 26.11.2016 / 22:35