s_xml_documento is string="D:\amarildo\Giuliano_Sapucaia\xmlserv_15417338000110\xmlserv_Retorno\12-nfsepdf.xml" s_meu_xml is string=fLoadText(s_xml_documento) XMLDocument("XML1",s_meu_xml) s_string_em_formato_base64 is string=XMLRead("XML1","/resPedidoLoteNFSePDF/NFS-ePDF") s_transforma_pdf is string = Uncrypt(s_string_em_formato_base64 ,"",cryptNone,encodeBASE64) //No Mobile // s_transforma_pdf = Uncrypt(s_string_em_formato_base64 ,"",cryptNone) // //no Mobile o ultimo parâmetro e ignorado fSaveBuffer("E:\aleva\teste3.pdf",s_transforma_pdf) ShellExecute("E:\aleva\teste3.pdf")
//Blog com Video e Exemplo http://windevdesenvolvimento.blogspot.com.br/2016/03/curso-windev-string-004-transformar.html
|