Questions tagged as 'xml'

0
answers

Write an XML using C # XMLwriter from an Excel table

Hello, I've never used the XMLwriter before, this is something totally new to me. I have a table in excel and I need to create an XML file from it, the first column will be the main node, and every other column a sub-node (I'm sorry for the term...
asked by 16.01.2018 / 23:57
0
answers

Create an .xls file

Good evening. I have some doubts about xls (I know nothing about it) and I have some issues. can anybody help me? Here's the first one, which asks you to create an .xls file that will check if the temperature is greater than 20 and then remove t...
asked by 17.01.2018 / 00:02
1
answer

SQL server xml field filtered by a field with namespace

I tried via seq to filter a record that had an xml field, with that xml below: <ns1:Prod xmlns:ns1="uri"> <ns1:ProductID>316</ns1:ProductID> <ns1:Name>Blade</ns1:Name> </ns1:Prod> <ns1:Pro...
asked by 10.01.2018 / 19:20
0
answers

Create Parameter in XML (Get id by URL through XML parameter)

I have an XML-SCHEMA cube (sql query) in an XML file which is the file type to open in the Pentaho workbench. I would like to know if you have to pass a parameter in XML so when this file is in the web it picks the id of the URL by the parameter...
asked by 16.01.2018 / 21:23
1
answer

Sending problem SPED-REINF C #

Dear friends, I'm trying to send an xml for approval to the SEFAZ for SPED-REINF code R-1000, I got help for the methods needed here with the friends of the discussion list. But I have the problem that I do not know how to solve, every file I...
asked by 15.01.2018 / 20:24
0
answers

Iterating array items related to orders

I'm having trouble iterating an array that contains other arrays inside it. foreach ($resultPedidos as $key => $rs) { $cont++; foreach ($resultadoItemPedidos as $key => $rows) { if ($rs['order_nu...
asked by 12.01.2018 / 20:54
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

Getting a string from an XML that I received from an http request

So, the problem at hand now is that I have to get two rows that are in an XML, I get that XML through an httpRequest, and the problem apparently starts. What I've tried so far was: ... [WebMethod] public void PassaProtocolo(int numProtoco...
asked by 01.12.2017 / 14:20
0
answers

How do I read the xsd file from within my C # project

I'm doing xml validation from an xsd file like this: XmlSchemaSet schemaSet = new XmlSchemaSet(); schemaSet.Add("urn:bookstore-schema", @"D:\Arquivo\VoltVarPlanning.xsd"); Validate("D:/Arquivo/Exemplo_Saida.xml", schemaSet); But I do not w...
asked by 29.11.2017 / 16:20
1
answer

Error Syntax! Java + XML

The database must be implemented in SQLite and should have the tables; tbprevisao e tbcidade The system should keep the data of the cities already consulted in order to avoid having to search the CPTEC service for the city code with each new...
asked by 23.11.2017 / 17:23