Most voted "xmldocument" questions
24 questions
Sort by count of
-
7
votes5
answers1506
viewsRead XML file in C#
I’m having a problem reading an XML file in C#. In which this is a file of a pre-sale, and I am with the following situation: in my xml I will have several pre-sales, and each pre-sale may have…
-
4
votes3
answers1073
viewsC# 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"…
-
4
votes1
answer242
viewsWhat is the difference between Xmldocument and Xelement?
I’d like to know the difference between Xmldocument and Xelement.
-
3
votes1
answer261
viewsXML returning incorrect values
I’m trying to do a show on c# to test the codes needed to run a xml, read your data and enter it in a list. But for this, I preferred to use a MessageBox to do the debug first. Man xml is a RSS Feed…
-
3
votes3
answers7876
viewsRead XML with Xmldocument in Delphi
I have this xml, I don’t know how to read and get the values. Someone could help me? <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope…
-
2
votes2
answers222
viewsWhat difference xmldocument vs xmlwriter?
What is the difference between the two classes? In which situation each fits best?
-
2
votes1
answer393
viewsHow to generate an XML schema, where I have some nodes with namespace and others without
I am 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…
-
2
votes1
answer84
viewsRead XML file, server returning error
I wrote a code to read RSS feed that works well. If you access this URL will see that returns an XML in the browser, but when running in my code generates an internal error on the server and do not…
-
2
votes0
answers45
viewsXML reading in VB.NET
Good morning gentlemen, I’m having a hard time reading some XML fields. For example, I am developing a sales software and at the time of reading the XML for printing it is pulling only one item…
-
2
votes1
answer290
viewsHow to read XML in Vb.net?
I created a program that generates a XML as is: <Pastas3> <Grupos pasta="C:\...\Arquivos\Videos"> <Video>C:\...\Arquivo 1</Video> <Video>C:\...\Arquivo 2</Video>…
-
1
votes3
answers2393
viewsXmldocument Exception: hexadecimal value 0x1a, is an invalid character
I have a project that reads an XML generated by another program in which I don’t have access to the source code. The problem is that the generated XML comes with a special character at the end, and…
-
1
votes1
answer1370
viewsRecover XML Txmldocument at runtime (Delphi XE3)
I am trying to recover the XML data but I can’t , Txmldocument is being created dynamically and is probably missing some configuration, because when I am using it visually in the project I can…
-
1
votes1
answer180
viewsXmldocument - list all elements?
I have a code XML similar to this : <document> <elemento> </elemento> </document> and the following code C#: (x is a Xmldocument) for (int i = 0; i < x.ChildNodes.Count; i…
-
1
votes1
answer107
viewsXmltextreader.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…
-
0
votes1
answer588
viewsTag ns1: repeats on all other tags (XML)
I’m trying to make an XML but the ns1 tag repeats in all xml ready, has to solve this in an easier way? Example of the code: function TRPS.geraXML:TStrings; var XMLDoc : TXMLDocument; ANode :…
-
0
votes1
answer414
viewsQuestions with XML Mapping
I have a file XML as below and I have some questions regarding how to map it to make the deserialization. I am using C#. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>…
-
0
votes1
answer363
viewsHow to add XML encoding tag
How to add XML encoding clause <?xml version="1.0" encoding="UTF-8"?> When you generate XML via FOR XML PATH as an example below: SQL query: WITH XMLNAMESPACES (DEFAULT…
-
0
votes1
answer277
viewsRead.xml file on an FTP
I’m having a problem reading an.xml file on an FTP, and it displays the following message :"ftp: cifensa.com.br Archivesmaxdata_venda_209016.XML notes (The syntax of the file name, directory name or…
-
0
votes0
answers40
viewsProblem with Reading XML NF-e det tag
I’m having trouble reading the tag <det> to collect taxes. Use Delphi 5 with class MSXML2_TLB to read the XML. Only missing knowledge to finalize this part of the routine I’m having trouble…
-
0
votes0
answers323
viewsClick the button and save xml file to the server side
Hello, I am building an application with PHP, I happen to have a button that when clicking it generates a file.xml in the downloads folder,I believe by default,but I want to generate this file.xml…
-
0
votes1
answer178
viewsMalformed XML NF reference element Version 4.0
I am updating our service notes sending program (Sorocaba). Doing a quick survey I saw some comments that after updating the . Net Framework, microsoft performed a fix on the Signatures…
-
-2
votes1
answer1045
viewsAssinar xml Nfse paulistana
I did a program in C# who signs the XML in batch of the legal note of Porto Alegre. Now the company in which I work opened a branch in São Paulo and I need to sign the XML batch of the São Paulo tax…
-
-2
votes1
answer215
viewsAdd a node to another child node in an XML
I am structuring an XML file. And I need to Add another 'node' to my 'child node'. The function that mounts XML: private string MontarXML(List<Nota> listaNotas) { XmlDocument docConfig = new…
-
-2
votes1
answer272
viewsHow to mount an XML string with SOAP?
I don’t know how to ride STRING of XML correct way to send the parameters with xml. According to the documentation the method is called coletar() but I am not able to pass these parameters…