Questions tagged as 'xml'

3
answers

Reading XML NFe?

I'm doing an XML reading from Nfe however, I'm currently reading and playing in a txt , but I can not read those tags below: <?xml version="1.0" encoding="UTF-8"?> <nfeProc xmlns="http://www.portalfiscal.inf.br/nfe" versao="2....
asked by 16.12.2014 / 17:05
2
answers

Convert Json to XML

I have this code: using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; using System.Diagnostics; using System.Xml; using Newtonsoft.Json; using System.Net; using System.Xml.Linq; using Newtonsoft.Json....
asked by 23.11.2015 / 00:13
1
answer

How to add a new node in an XML with jQuery?

How can I add, with jQuery, a new <nota ordem="4"> node with the default nodes that are in the example I'm showing in the XML file below (name, date, unit, reference and text)? I wanted to add after note order 3 a note order 4....
asked by 10.12.2015 / 12:51
1
answer

I want to put more than one paragraph in my android xml, how?

I want to do something very simple. I want when the user press the "msg" button a message appears with at least two short paragraphs just below the button, but I'm finding it difficult to put the information inside a TextView because it does not...
asked by 03.12.2015 / 21:47
1
answer

Xml multiple elements

I am uploading a project to vtex, but when doing the update it has a multiple element error:    There are multiple root elements. Line 3, position 6. All the examples I saw did not serve me, can anyone help me? <!DOCTYPE html>...
asked by 10.10.2017 / 16:33
0
answers

How to validate an XML by Schema XSD?

I am trying to validate the values of a XML through a XSD file. I'm trying this way: XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load(xmlReader); ValidationEventHandler eventHandler = new ValidationEventHandler(ValidationEvent...
asked by 05.06.2017 / 12:32
1
answer

How to make an XPath expression in an XML with multiple namespaces?

I have the following xml: <root xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <body xmlns="http://www.foo.com/bar"> <checkCredit> <CheckCreditOut> <nomeSerasa />...
asked by 27.07.2015 / 20:06
1
answer

load xml in gridview

In my project, I need to select an XML file from some HD folder and then read its contents and show it in a gridview. At this point, I can open the window to select the file , but I can not read that file and iterate over it and show the XML...
asked by 22.06.2015 / 19:22
4
answers

XML returned by web service with encoding error

Hello, I have an XML that returns from a webservice with encoding errors, in the encoding of XML is as UTF-8 however it does not display accents correctly and I can not detect which correct encoding it should be . I have no information of how i...
asked by 16.02.2017 / 01:40
1
answer

Several ImageView inside FrameLayout, an error occurs

Well the problem is the following I have some ImageView that are called by buttons, it works cool, but when defining 4 images it still goes well, I add another ImageView with another image to the error program, in that same Ima...
asked by 01.02.2015 / 22:45