Questions tagged as 'xml'

3
answers

Serialization Namespace with link

I'm working with Serialization, I'm adding Namespace to two tags, A nfeProc and NFe. I can usually add the following Name: [XmlRoot("nfeProc", Namespace = "http://www.portalfiscal.inf.br/nfe")] In XML: <nfeProc versao="2.00" xmlns="htt...
asked by 23.04.2015 / 22:31
1
answer

Remove part without fixed size from an xml

Galera, I have this piece of XML and I need to remove the value (357122.40) that is between the < vMerc > xxxxxx < / vMerc > However, this value does not have a fixed size. ...<infCTeNorm><infCarga><vMerc>357122.4...
asked by 10.04.2015 / 20:15
1
answer

How to set a size for the EditText text box?

How to set a size for the textbox of EditText to be a square     
asked by 11.04.2015 / 16:25
2
answers

Android: Problem fetching last id inserted with SQLiteDataBase (ORM Lite)

I'm having a problem executing a query (with ORMLite) that adds the return to 'lastConfiguration' in which you should get the last 'id' inserted in the Configuration table. The method that looks for the last configuration is as follows: publ...
asked by 23.02.2015 / 23:57
1
answer

How can I convert these strings in PHP?

I have the following instructions .... echo $parcelamento . "<br>"; echo utf8_encode($parcelamento) . "<br>"; echo utf8_decode($parcelamento) . "<br>"; ... which respectively return this: ou 12x de R$ 21,58 sem juros no...
asked by 16.03.2015 / 16:25
1
answer

Help with Infrastructure

I have a Desktop system that every 1 hour makes a query in the database and generates a .xml file and a javaWeb system that reads this .xml . I developed this solution because the company I work with has some security rules w...
asked by 07.07.2015 / 15:43
2
answers

How to call a sound when you click the android button [duplicate]

Hello, I would like to know how to call a more efficient sound? I'm using this method: Button button1; MediaPlyer mp; button1 = (Button)findViewById(R.id.button1); button1.setOnClickListener(new View.OnClickListener() { @Override public voi...
asked by 29.01.2015 / 18:27
1
answer

SELECT in an XML Field

I'm having trouble retrieving the value of an xml node from a field and need help ... The table structure is: --Table Pessoa Id int Nome varchar(max) DtNascimento date Xml_Detalhes XML My xml looks like this: (1) - Registr...
asked by 03.12.2014 / 14:03
1
answer

How to change only one part within xml using php?

I'm having a hard time getting to that conclusion. I'll explain, I have the dummy xml below: <url>http://www.example.com/TITULO<url/> I want to change only the part title, in case it looks like this: <url>htt...
asked by 11.01.2015 / 03:20
1
answer

Group TextViews and then access them

Example: I have 3 TextViews and its id's : TextView tv1 -> id: "um" TextView tv2 -> id: "dois" TextView tv3 -> id: "tres" I would like to group them in some way that can access them through the group, eg: ViewGrou...
asked by 13.01.2015 / 00:08