Questions tagged as 'xmldocument'

1
answer

XmlDocument - list all elements?

I have a code XML similar to this: <document> <elemento> </elemento> </document> and the following C # code: ( x is an XmlDocument) for (int i = 0; i < x.ChildNodes.Count; i ++) { var el...
asked by 03.10.2017 / 23:42
1
answer

How to read XML in Vb.net?

I created a program that generates a XML equal to: <Pastas3> <Grupos pasta="C:\...\Arquivos\Videos"> <Video>C:\...\Arquivo 1</Video> <Video>C:\...\Arquivo 2</Video> <Video>C:\...\A...
asked by 27.09.2018 / 20:34
1
answer

Retrieve XML TXMLDocument at runtime (Delphi XE3)

I'm trying to retrieve the XML data but I can not, the TXMLDocument is being created dynamically and probably is missing some configuration, because when I'm using it visually in the project I can extract the data. function TNFSe.getNumeroRPS(...
asked by 11.07.2014 / 16:51
1
answer

Tag ns1: repeats in all other tags (XML)

I'm trying to make an XML but the ns1 tag repeats all in the ready xml, can you solve this in an easier way? Code sample: function TRPS.geraXML:TStrings; var XMLDoc : TXMLDocument; ANode : IXMLNode; begin try XMLDoc := TXMLD...
asked by 15.07.2014 / 00:10
1
answer

Read file.xml in an FTP

I have a problem reading an .xml file in an FTP, and the following message appears: "ftp: \ cipher.ca \ FileName \ Maxdata_Venda_209016.XML (The syntax of the file name, directory name, or volume label is incorrect) ", in the code this commentin...
asked by 06.10.2018 / 02:11
0
answers

What is the purpose of xml: base

Good afternoon, I'm programming an xml and I'm still very new to this programming, and one of the tags I found looking at some examples was: <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/1...
asked by 31.08.2018 / 20:45
1
answer

Malformed Reference Element XML NF Version 4.0

I am updating our program of sending service notes (Sorocaba). Doing a quick search saw some comments that after updating the .Net Framework, Microsoft made a fix on the Subscriptions vulnerabilities and some special characters could not be used...
asked by 03.07.2018 / 22:38
0
answers

Click on button and save xml file on server side

Hello, I am building an application with PHP, it happens that I have a button that when clicking it generates a file.xml in the downloads folder, I believe that by default, but I want to generate this file.xml in a specific folder that stores my...
asked by 22.05.2018 / 15:35
1
answer

How to add the XML encoding tag

Adding the XML encoding clause <?xml version="1.0" encoding="UTF-8"?> When you generate the XML through FOR XML PATH as the following example: SQL query: WITH XMLNAMESPACES (DEFAULT 'http:\www.oobj.com.br') select '1.0...
asked by 12.01.2018 / 18:49
1
answer

Doubts with XML Mapping

I have a XML file as below and I have some questions about how to map it to deserialize. I'm using C# . <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ListaDeclaracoes> <declaracaoImportacao>...
asked by 10.07.2017 / 15:30