Questions tagged as 'xml'

1
answer

TextView position text displayed always at the end

How to do in TextView so that when entering text it stays as a line only and the text box goes with it as you go? <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Hello Worl...
asked by 16.01.2016 / 00:46
1
answer

Background image of the activity distorts when you open the keyboard

I'm developing an application in which it has a background image of the image. But every time I open the virtual keyboard to fill a field, that image flattens. How do I prevent this from happening?     
asked by 15.05.2015 / 05:06
1
answer

Order in class to Serialize Object C #

I'm working on an NFe project, and I opted to use serialization of a class based on the xml structure I want. I implemented the class, everything worked as expected, root, nodes etc, however I'm having a problem, regarding ordering my elements i...
asked by 22.04.2015 / 22:52
1
answer

"stretch" row in tablelayout

Well, I'm programming android, and building layouts for my app. My problem: I can not make the layout of my app fit vertically to different devices. My xml code: '' ' <TableRow android:id="@+id/tableRow2" android:layout_width=...
asked by 20.10.2014 / 13:26
1
answer

Are there restrictions on rendering XML?

I have a file of 960 records where each record has 175 fields, is a real estate form. When I ask to loop the 960 records with only 10 fields enabled, it generates an error in the XML as picture. //Loopdosvaloresfor($i=0;$i<count($res)-1;$i...
asked by 06.09.2014 / 15:10
2
answers

Problem handling XML

I'm trying the following error when trying to manipulate an XML string This is the XML I'm trying to read: <?xml version="1.0" encoding="utf-8"?> <integracao> <status>2</status> <resposta> <p...
asked by 04.09.2014 / 17:12
1
answer

The ref attribute of an xml schema document element

I'm doing an xml file generator xs, but I'm not sure if some parts should be populated. <xs:element name="identificacao"> <xs:complexType> <xs:sequence> <xs:element name="modelo"></xs:element&...
asked by 27.02.2015 / 22:10
2
answers

Webservice SOAP with PHP

I have a question: I've used webservice Json Curl with PHP and in consumption I was returning an array where I could work with the information, now learning SOAP the return is not as satisfying as in JSON, max that I get is an XML return on a...
asked by 24.09.2014 / 20:53
2
answers

How to save the variables to be used in the next .Java?

My main (parser) code looks like this: public class pFormasDePagamento { public static void parseXML(String xml) throws ParserConfigurationException, SAXException, IOException { InputSource is = new InputSource(new StringReader(xm...
asked by 01.10.2014 / 15:02
1
answer

Error when serializing with namespace in if

I was serializing a file and it worked normally, but now, when serializing q1 appears in all tags, I'm doing this: StringWriter sw = new StringWriter(); XmlTextWriter tw = new XmlTextWriter(sw); XmlSerializerNamespaces xsn = n...
asked by 12.12.2018 / 12:05