Questions tagged as 'xml'

1
answer

How to use the xmlSApply with separator?

I used xmlSApply and would like to get the result with a separator but could not apply. Below is an example so that they can reproduce: library(XML) fileUrl <- "http://www.w3schools.com/xml/simple.xml" doc <- xmlTreeParse(fileU...
asked by 20.10.2014 / 16:26
1
answer

Python - HTTP Digest Authentication with urllib2

I needed to authenticate on a test server to consume a service in a webservice, I was able to make the authentication and generate the xml with the following code based on a code SOen operacao = 'consulta' Agencia = "X" Agente = "X" Origem =...
asked by 16.06.2014 / 19:39
1
answer

Write more records than Requario in my DB

Follow the code: // Leitura Dados Itens da Nota Fiscal... xmlNCab := NoPrinc.ChildNodes.FindNode('det'); while not (xmlNCab = Nil) do begin inc(l); sgProds.RowCount := l; //xmlNCab.ChildNodes.FindNode('det'); xmlNItm := xmlNCab...
asked by 14.06.2014 / 13:57
1
answer

How to convert a JSON object to XML in AS3?

There is some method of converting a JSON object to an XML object using
asked by 17.02.2014 / 19:50
0
answers

The 'http://www.portalfisc.in.inf.br/nfe:TNFe' type is not declared

Good morning, I usually avoid asking questions here in the forum because I always find many answers that fill my situation. I'm doing an integration with Sefaz, using the Authorization Ws of NFe 4.00, but when I do the validation of my XML the...
asked by 05.09.2018 / 14:37
2
answers

how to display images with xsl with the img src of the xml file

I have for example the XSL code: <xsl:for-each select="//*"> <xsl:for-each select="imagem"> <img> <xsl:attribute name="src"> <xsl:value-of select="."/> </xsl:attribute> </img...
asked by 01.04.2014 / 21:00
1
answer

Regex in word XML

I have an xml that came from a docx in this format: <w:p w:rsidR="00AE2D8E" w:rsidRPr="00AE2D8E" w:rsidRDefault="00AE2D8E"> <w:pPr> <w:rPr> <w:lang w:val="en-US"/> </w:rPr> <...
asked by 27.08.2018 / 22:04
1
answer

Skip line in XML with PHP

I'm trying to insert values into xml using php, and wanted to skip line before inserting if the file already exists so it does not overwrite what's already there. However the FILE_APPEND of file_puts_content does not work, the links I found on t...
asked by 06.06.2018 / 04:23
0
answers

PHP does not save message in XML

I want to set up a comment system, at the time of opening xml php can, but at the time of saving a new message does not, besides not being able to save it also does not error. (Note: it is a bit urgent for CBT). Codes: Open profile_php.php :...
asked by 23.06.2018 / 23:36
0
answers

WSDL Soap with PHP giving error

I have the following code try { $client = new SoapClient("link.wsdl"); $function = "METADOPRINCIPAL"; $arguments = array( 'METADOPRINCIPAL' => array( 'Msg' => array( 'Transacao' => array( 'ME_DVW'...
asked by 09.01.2018 / 14:45