Questions tagged as 'xml'

1
answer

How to access attributes of a JSON that was converted with special characters?

I'm consuming the Microsoft translation API, they That is, MICROSOFT returns XML in its API's), I was able to execute everything right, but as I hate working with XML I decided to convert from XML to JSON, with the library Json.NET , the XML...
asked by 15.03.2018 / 16:08
1
answer

HTTP Error 406 using Rest Delphi components with XML return

I'm trying to query an NFS-e with the REST components in delphi XE7, in the queries of type Json I got normally, but when the return is of type XML it gives the error 406, I already tried to send the Accept and Content-Type in the header but als...
asked by 19.01.2018 / 19:39
1
answer

Groovy - JSON List Schema

I have a problem reading a certain part of an xml file that I am transforming into a JSON file. First I get this file with class File and play it in my class XmlParser , responsible for parsing my xml file, then I play on...
asked by 07.12.2017 / 11:45
1
answer

Web Service consumption in the SOAP standard with sending XML as a parameter in PHP

I'm developing an integration application between my city's prefecture and a system for a company, for optimization of NFS-e generation. It consists of using the City's Web Service to send, using SOAP, XML files to be validated. That is, the pas...
asked by 25.11.2017 / 14:32
2
answers

Problem communicating with eSocial webservice

I have the following problem communicating with eSocial webservice, I'm using C # so I added the webservice reference in my project and now I need to send an XML, and what I thought was: to establish a secure connection, define a certificate, an...
asked by 20.11.2017 / 18:06
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 return a table from the xml in sql server

My xml looks like this: <Operacao Id="1"> <Contatos> <Contato Id="2013"> <Emails> <Email Id="40"/> <Email Id="41"/> </Emails> </Contato> <Contato Id="...
asked by 28.09.2017 / 19:30
1
answer

How to write data from an excel to an xml file

I would like to develop a program that has to read excel files and write to an xml file but I'm not sure how to write the data to the xml file. I'm reading the excel file like this: var fileName = @"C:\Users\HP8200\Desktop\test.xlsx"; var c...
asked by 27.09.2017 / 17:07
1
answer

XML Serialization, how to do

I need to generate the XML in the TISS standard of ANS. I have taken the available schemas in the site / a>, and by xsd2Code generated the classes of tissV3_03_02. I instantiated an object of type ctm_guiaLote and now I need t...
asked by 31.07.2017 / 17:26
1
answer

Java - Add information in XML file with JDom

In this code an xml file is created and an element is inserted: comentarios = new Element("comentarios"); myDocument = new Document(comentarios); comentario = new Element("comentario"); comentario.setAttribute("id", "123"); El...
asked by 19.05.2017 / 05:18