Questions tagged as 'xml'

1
answer

Check encoding of an XML

I need to process a series of XML files. One of the requirements is that encoding is UTF-8 . Any other type of enconding should be rejected. This is accepted: <?xml version="1.0" encoding="UTF-8" ?> That's not <?xml versi...
asked by 25.08.2014 / 22:51
1
answer

How to generate an XML schema, where I have some nodes with namespace and others without

I'm trying to generate an XML schema, for future validations, where some attributes contain a specific namespace, and others do not: <?xml version="1.0" encoding="UTF-8"?> <root xmlns:g="http://base.google.com/ns/1.0" version="2.0">...
asked by 22.09.2014 / 21:47
1
answer

Button to add a new field

I'm creating an application that calculates the average of 3 numbers, so long, but now I wanted to create a '+' button that at the time I clicked on it it would add a new field and make that calculation with the fourth and so on but I did not fi...
asked by 11.09.2014 / 20:48
1
answer

Alternative methods for storing in Application Server

Good Afternoon Personal, I would like some suggestions for alternative ways of accessing data on an application server, more specifically a JBoss 6. It occurred that I have an application hosted on a JBoss 6 and I need from time to time to retri...
asked by 17.09.2014 / 21:48
1
answer

Change the tab indicator color on Android

I have tried in many ways to change the color of what they call a "tab indicator", but without success ... Even using the "Android Action Bar Style Generator" the color of this indicator remains light blue. test http://nsae01.casimages.net/im...
asked by 11.09.2014 / 15:45
1
answer

xml handling treat strings as if they were files

I'm getting a xml in the format of string in my response. I want to manipulate this xml and generate a list of the <item> tags of the xml returned by the web service. Here is the snippet of my code: if (op ==...
asked by 01.07.2014 / 19:27
3
answers

Exception in reading XML file

For weeks I've tried to resolve this error in reading XML. I'm creating an application for Windows Phone 8 in C #. The moment I click on a subject and so display the page with a listBox.    An exception of type 'System.ArgumentNullException'...
asked by 10.08.2014 / 23:00
2
answers

XSL does not enter the correct condition

I have the following condition: <xsl:when test="$Rows[1]/@Style='Resultado-Lista'"> <ul> <xsl:for-each select="$Rows"> <li> <a href="/{@FileRef}" title="{$Data} - {@Title}"> <xsl:ch...
asked by 26.05.2014 / 15:29
1
answer

Replace xml tag with nodejs

Hello, I would like some help to remedy a problem I am facing. I need to rename the tags of an xml file by nodejs. I thought about making use of regex, using fs to read the file, but I was kind of lost. <RESULTS> <ROW> <COLU...
asked by 04.10.2018 / 08:15
1
answer

How to read a JSON file that is inside a package?

I need to give a file in the *.JSON case. I understand that there is a library for this in case I use json-simple-1.1.1 . As it is necessary to read the file first and then work with it. My question is as follows: I keep the...
asked by 17.02.2014 / 18:35