Questions tagged as 'xmldocument'

5
answers

Read XML file in C #

I have a problem when reading an XML file in C #. In this this is a file of a pre-sale, and I have the following situation: in my xml I will have several pre-sales, and each pre-sale may have several items. So far so good, I'm able to identify t...
asked by 30.01.2015 / 20:39
3
answers

C # update XML based on another XML

Today I have the following XML structure: <ROOT> <TES IDTES="4780" IDPES="17522" /> <TES IDTES="6934" IDPES="12343" /> <TES IDTES="4781" IDPES="17523" /> <TES IDTES="6935" IDPES="12344" /> </ROO...
asked by 16.04.2014 / 22:23
3
answers

Read XML with XMLDocument in Delphi

I have this xml, I do not know how to read and get the values. Could someone help me? <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001...
asked by 16.10.2015 / 20:59
1
answer

XML returning incorrect values

I'm trying to make a program on the c # to test the codes you need to be able to run a xml , read your data and enter them in a list. But for this, I preferred to use a MessageBox to debug first. My xml is a RSS Feed that I...
asked by 29.03.2014 / 17:52
1
answer

What is the difference between XmlDocument and XElement?

I would like to know the difference of XmlDocument and XElement.     
asked by 19.04.2018 / 23:20
2
answers

What difference xmldocument vs xmlwriter?

What is the difference between the two classes? In what situation does each fit the best?     
asked by 14.03.2014 / 20:03
1
answer

Read XML file, server returning error

I wrote a code to read RSS feed that works fine. If you access this URL you will see that it returns an XML in the browser, but when running in my code it generates an internal error in the server and I do not understand why. Can someone help...
asked by 06.12.2017 / 21:26
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
3
answers

XmlDocument Exception: hexadecimal value 0x1a, is an invalid character

I have a project that reads an XML generated by another program in which I do not have access to the source code. The problem is that the generated XML comes with a special character at the end, and when I try to read XML the exception is thro...
asked by 11.02.2014 / 11:26
1
answer

XmlTextReader.GetAttribute returns the null value

I made a base code in XML and I would like to import the attributes and values according to the code: <?xml version="1.0" encoding="UTF-8" ?> <!-- MAIN SCRIPT FILE FOR JAVA 7u80 MINECRAFT SERVER --> <params count="3"> <...
asked by 16.10.2015 / 19:13