I need the variable cnpj that is the <Parameter>
tags to be called as a parameter of a function. But note that it is inside a block of text that I use to consume a web service. Is it possible in any way?
recebeParam <- function(cnpj) {
Metodo <- '<?xml version="1.0" encoding="utf-8" ?>
<ResponseFormat>xml</ResponseFormat>
<Command>
<Name>LinxSeguroVendedores</Name>
<Parameters>
<Parameter id="cnpjEmp">cnpj</Parameter>
</Parameters>
</Command>'
}