Questions tagged as 'xml'

1
answer

Obtain the line and column of an XML node

In this project I am defining object configurations in XML format. An example is this is the case of a contextual menu: <?xml version="1.0" encoding="UTF-8"?> <root> <menu name="remates" widget="uiRemates" onshow="showMenu"...
asked by 19.12.2015 / 02:33
1
answer

Problem with code snippet Visual Studio 2015

I have a code snippet that according to the syntax is all right, but I can not get the tab stop from the snippet to change to the variables that they are inside the parentheses, on the contrary I click tab , it does not do anything, I cli...
asked by 08.08.2017 / 02:37
2
answers

TextView Multiline with horizontal and vertical scroll

Well, so that we are in tune, my idea is to create a logger I've already managed to make it scroll vertically but as I do not fit the text in TextView I share the code: <?xml version="1.0" encoding="utf-8"?> <android.suppo...
asked by 27.10.2018 / 21:07
1
answer

Create a sequence in a complex type in XML and validate it against a schema

How do I put several repetitions of the elements that are part of a sequence that is within a complex type? I have the following scheme: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"...
asked by 09.06.2017 / 13:33
2
answers

Extract XML data using Python

I have this code and I need to extract the comment counts from the XML data, calculate ( link ) the sum of the numbers in the file and write the sum. I would like to know which part of the code I need to enter because I had already used diffe...
asked by 25.01.2016 / 22:37
1
answer

Serialize data of objects compiled in a class library

Greetings, I have a problem with a serialization exercise. The theme is the following: I have a ClassLibrary with the classes Fruit (abstract), Apple and Banana that are derived from Fruit and another class Cajon that contains a list of "fruits"...
asked by 21.06.2016 / 19:55
1
answer

C #: Read XML file with NameSpace

I want to get the values of these nodes in a XML file and each of these values assign a variable to it. I get the file this way: CODE: var miXML = File.ReadAllText("D:\20101284981-01-0002-0000000060.xml"); XML: <?x...
asked by 28.12.2016 / 18:33
0
answers

Change Field to XML attribute TARGET - PowerCenter

I have a functioning Mapping, which has 4 tables from oracle as source and they are passed on to an XML type target. This XML file is generated in the following way: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <X_PURCHAS...
asked by 17.12.2015 / 23:06
2
answers

Hierarchize layouts

I want to organize the screen of an activity in this way: So far I have this but I overlap all the layouts starting from above one on top of another: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http:...
asked by 21.04.2017 / 13:24
2
answers

XML parsing error: duplicate attribute

Why this 'error'? I do not have any duplicate attributes. What is the solution? MESSAGE ERROR activity_commerce.xml <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/r...
asked by 08.02.2016 / 13:57