Norādītais vecais variants no patreizējās lapas atšķiras ar:
Abās pusēs iepriekšējo versiju Iepriekšējā versija Nākamā versija | Iepriekšējā versija Nākamā versija Abās pusēs nākamo versiju | ||
lv:xmlcore [2018/07/20 17:48] marija |
lv:xmlcore [2018/07/20 17:52] marija |
||
---|---|---|---|
Rinda 140: | Rinda 140: | ||
<code php> | <code php> | ||
+ | $xmldata = '<?xml version="1.0" encoding="UTF-8" ?> | ||
+ | <invoice AppKey="1234567879012345678790" InvoiceNr="123" | ||
+ | InvoiceDate="2015-06-07" CustomerCode="CUST001"> | ||
+ | <lines> | ||
+ | <line ProductID="KILLERPRODUCT" Quantity="3" UnitPriceWoVAT="123.45"/> | ||
+ | <line ProductID="FREESAMPLE" Quantity="1" UnitPriceWoVAT="0.00"/> | ||
+ | </lines> | ||
+ | </invoice>'; | ||
+ | |||
$url = 'https://directo.gate.ee/xmlcore/this_is_the_worlds_greatest_company/xmlcore.asp'; | $url = 'https://directo.gate.ee/xmlcore/this_is_the_worlds_greatest_company/xmlcore.asp'; | ||