This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0] | |
cod_produto_erp = 520 | |
qtde_em_estoque = 40 | |
[1] | |
cod_produto_erp = 521 | |
qtde_em_estoque = 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cod_produto_erp = 520 | |
qtde_em_estoque = 40 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0] | |
nome = Nome do Produto 1 | |
ativo = 1 | |
preco = 10760 | |
preco_velho = 11000 | |
qtde_em_estoque = 50 | |
cod_cidade = 35 | |
cod_produto_erp = 520 | |
ean_13 = 7898577630194 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nome = Nome do Produto | |
ativo = 1 | |
preco = 10760 | |
preco_velho = 11000 | |
qtde_em_estoque = 50 | |
cod_cidade = 35 | |
cod_produto_erp = 520 | |
ean_13 = 7898577630194 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xml> | |
<nome>Nome do Produto</nome> | |
<preco>5068</preco> | |
<preco_velho>7068</preco_velho> | |
<qtde_em_estoque>99885.00</qtde_em_estoque> | |
<cod_cidade>35</cod_cidade> | |
<localizacao_fisica>A1-C4</localizacao_fisica> | |
<cod_produto_erp>123</cod_produto_erp> | |
</xml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nome":"Nome do Produto", | |
"preco":5068, | |
"preco_velho":7068, | |
"qtde_em_estoque":99885.00, | |
"cod_cidade":35, | |
"localizacao_fisica":"A1-C4", | |
"cod_produto_erp":"123" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[ds] => http://www.w3.org/2000/09/xmldsig# | |
[xs] => http://www.w3.org/2001/XMLSchema | |
[] => http://www.portalfiscal.inf.br/nfe | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- PL_008 - 30/07/2013 - Nova versão nacional 3.10 (NT 2013/005), Resolução 13: FCI (NT 2013/006) --> | |
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified"> | |
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema_v1.01.xsd"/> | |
<xs:include schemaLocation="tiposBasico_v3.10.xsd"/> | |
<xs:complexType name="TNFe"> | |
<xs:annotation> | |
<xs:documentation>Tipo Nota Fiscal Eletrônica</xs:documentation> | |
</xs:annotation> | |
<xs:sequence> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Converts an structured PHP array to XML. | |
* | |
* @param Array $data_array | |
* The array data for converting into XML. | |
* @param Object $xml_object | |
* The SimpleXMLElement Object | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Structered array for convertion into XML. | |
$data_array = array( | |
array( | |
'#xml_tag' => 'a', | |
'#xml_value' => '', | |
'#tag_attributes' => array( | |
array( | |
'name' => 'a_attr_name', | |
'value' => 'a_attr_value', |
NewerOlder