1--TEST-- 2Bug #34066 (recursive array_walk causes segfault) 3--FILE-- 4<?php 5 6 $order = array( 7 "DocID" => "1", 8 "DocDate" => "19.09.06", 9 "ReSubmissionDate" => "", 10 "DocTyp" => "Stapelauftrag", 11 "CustID" => "00000", 12 "CustomerAddress" => array( 13 array( 14 "Name1" => 'name1', 15 "Name2" => 'name2', 16 "Name3" => "", 17 "City" => 'city', 18 "Street" => 'street', 19 "Postal" => 'postcode', 20 "IATA" => "90", 21 "Country" => "Deutschland", 22 "ShortName" => 'short', 23 "ContactKey" => "", 24 "EMail" => 'email@example.com', 25 ) 26 ), 27 "Text1" => "", 28 "Text2" => "", 29 "Wildcard1" => "", 30 "Wildcard2" => "", 31 "Dispatch" => "Paketdienst", 32 "Weight" => "0,0", 33 "BillingCustID" => "4300200000", 34 "ExtDocNr" => "00000000003", 35 "AnalysisLock" => "", 36 "PrintFlag" => "", 37 "FormType" => "0", 38 "Curr" => "EUR", 39 "ExChangeRate" => "1,0000", 40 "WIRRate" => "0", 41 "OneTimeCustomer" => array( 42 array( 43 "BankCode" => "", 44 "BankAccount" => "" 45 ) 46 ), 47 "Language" => "0", 48 "PriceGroup" => "1", 49 "PrFlag" => "0", 50 "SalesTaxKey" => "1", 51 "ProceedKey" => "0", 52 "CustDiscountGroup" => "0", 53 "Discount" => array( 54 array( 55 "FinDisc1" => "0,00", 56 "Disc1Base" => "145,72", 57 "Disc1Value" => "0,00", 58 "FinDisc2" => "0,00", 59 "Disc2Base" => "145,72", 60 "Disc2Value" => "0,00", 61 "FinDisc3" => "0,00", 62 "Disc3Base" => "145,72", 63 "Disc3Value" => "0,00", 64 "ValueSummary" => "0,00" 65 ) 66 ), 67 "Contact" => array( 68 array( 69 "Repr" => "999", 70 "Region" => "99", 71 "Commission" => "0,00", 72 "Agent" => "000000" 73 ) 74 ), 75 "Booking" => array( 76 array( 77 "CostUnit" => "0000000000", 78 "CostCentre" => "0000000000", 79 "AccountingArea"=> "01" 80 ) 81 ), 82 "InvoiceCycleKey" => "0", 83 "AnalysisKey" => "", 84 "OrderNumber" => "", 85 "OrderDate" => "", 86 "OrderCode" => "", 87 "DocItems" => array( 88 "DocItem" => array( 89 "PosType" => "1", 90 "ItemRef" => "1002", 91 "CRef" => "", 92 "Desc1" => "Pr�sentation Niederlande per", 93 "Desc2" => "", 94 "ArticleGroup" => "102", 95 "PosTypeVersion" => "E", 96 "Delivery" => array( 97 array( 98 "DelWeek" => "", 99 "DelDay" => "", 100 "DelTime" => "" 101 ) 102 ), 103 "PricePu" => "145,72", 104 "PriceUnit" => "0", 105 "PriceCalculation" => "0", 106 "ItemVal" => "145,72", 107 "InputKey" => "0", 108 "AveragePurchasePrice" => "0", 109 "Tax" => array( 110 array( 111 "TaxCode" => "00", 112 "TaxBra" => "000", 113 "TaxBraAccess" => "0", 114 "TaxSumIndex" => "0" 115 ) 116 ), 117 "DiscountArticle" => array( 118 array( 119 "DiscPC" => "0,00", 120 "DiscKey" => "1" 121 ) 122 ), 123 "ProceedKeyArticle" => "01", 124 "ActionKey" => "00", 125 "ContactCommissionArticle"=> "0,00", 126 "QuantdependentPriceKey"=> "", 127 "Quant" => "1", 128 "QuantUnit" => "", 129 "Meas" => array( 130 array( 131 "Count" => "1", 132 "Length" => "0,000", 133 "Width" => "0,000", 134 "Height" => "0,000" 135 ) 136 ), 137 "DecimalPlace" => "0", 138 "MultiplierQuant" => "1,000000", 139 "DifferingQuantUnit" => "", 140 "DecimalPlaceConversion"=> "0", 141 "WeightArticle" => array( 142 array( 143 "Amount" => "0", 144 "Unit" => "0" 145 ) 146 ), 147 "Wreath" => "0,000", 148 "Stock" => "1", 149 "CostUnitArticle" => "", 150 "SerialNbKey" => "0", 151 "TextComplementKey" => "0", 152 "PartsListPrintKey" => "", 153 "Prod" => "0000000000" 154 ) 155 ), 156 "Payment" => array( 157 "PaymentKey" => "0", 158 "ReminderKey" => "00", 159 "PayTerms" => array( 160 array( 161 "PayTerm" => "1", 162 "PayDays" => "000", 163 "CashDiscDays1" => "000", 164 "CashDiscDays2" => "000", 165 "CashDiscPer1" => "0,00", 166 "CashDiscPer2" => "0,00" 167 ), 168 array( 169 "PayTerm" => "2", 170 "PayDays" => "000", 171 "CashDiscDays1" => "000", 172 "CashDiscDays2" => "000", 173 "CashDiscPer1" => "0,00", 174 "CashDiscPer2" => "0,00" 175 ) 176 ) 177 ), 178 "NetAmountByTurnOverTax" => array( 179 array( 180 "TurnOverTaxFree" => "145,72", 181 "TurnOverTax1" => "0,00", 182 "TurnOverTax2" => "0,00", 183 "TurnOverTax3" => "0,00", 184 "TurnOverTax4" => "0,00", 185 "TurnOverTax5" => "0,00", 186 "TurnOverTax6" => "0,00", 187 "TurnOverTax7" => "0,00", 188 "TurnOverTax8" => "0,00" 189 ), 190 ), 191 "GrossAmount" => "145,72", 192 "ProceedAmount" => "145,72", 193 "NetAmountByPayTerm2" => array( 194 array( 195 "Sum0" => "0,00", 196 "Sum1" => "0,00", 197 "Sum2" => "0,00", 198 "Sum3" => "0,00", 199 "Sum4" => "0,00", 200 "Sum5" => "0,00", 201 "Sum6" => "0,00", 202 "Sum7" => "0,00", 203 "Sum8" => "0,00" 204 ), 205 ), 206 "TaxCodes" => array( 207 array( 208 "TaxCode1" => "0", 209 "TaxCode2" => "0", 210 "TaxCode3" => "0", 211 "TaxCode4" => "0", 212 "TaxCode5" => "0", 213 "TaxCode6" => "0", 214 "TaxCode7" => "0", 215 "TaxCode8" => "0" 216 ) 217 ) 218 ); 219 $docs = array( 220 array( 221 "Version" => "1.0", 222 "ProducerName" => "xxxxxxxx", 223 "ProductName" => "Classic Line", 224 "xmlns" => "x-schema:CL310_DezABFSchema.XML" 225 ), 226 "Company" => array( 227 array( 228 "MandateNumber" => "111", 229 "MandateName" => "xxx xxxxxxx-xxxxx xxxxxxx", 230 "MandateCurr" => "EUR" 231 ), 232 ), 233 "Doc" => $order 234 ); 235 236 dump2xml($docs); 237 238 239function dump2xml($array) { 240 // output of this goes through 2xml 241 array_walk($array, "gen_xml", "/Docs/"); 242} 243function gen_xml($val, $key, $prefix) 244{ 245 global $xml_fd; 246 print "gen_xml(prefix=$prefix)\n"; 247 if (is_array($val)) { 248 if (preg_match('/^\d+$/', $key)) { 249 if ($key == 1) { 250 print substr($prefix, 0, -1) . "\n"; 251 } 252 array_walk($val, "gen_xml", "$prefix@"); 253 } 254 else { 255 array_walk($val, "gen_xml", "$prefix$key/"); 256 } 257 } 258 else { 259 if (strlen($val) > 0) 260 print "$prefix$key=$val\n"; 261 else 262 print "$prefix$key\n"; 263 } 264 print "gen_xml(prefix=$prefix) end\n"; 265} 266echo "Done\n"; 267?> 268--EXPECT-- 269gen_xml(prefix=/Docs/) 270gen_xml(prefix=/Docs/@) 271/Docs/@Version=1.0 272gen_xml(prefix=/Docs/@) end 273gen_xml(prefix=/Docs/@) 274/Docs/@ProducerName=xxxxxxxx 275gen_xml(prefix=/Docs/@) end 276gen_xml(prefix=/Docs/@) 277/Docs/@ProductName=Classic Line 278gen_xml(prefix=/Docs/@) end 279gen_xml(prefix=/Docs/@) 280/Docs/@xmlns=x-schema:CL310_DezABFSchema.XML 281gen_xml(prefix=/Docs/@) end 282gen_xml(prefix=/Docs/) end 283gen_xml(prefix=/Docs/) 284gen_xml(prefix=/Docs/Company/) 285gen_xml(prefix=/Docs/Company/@) 286/Docs/Company/@MandateNumber=111 287gen_xml(prefix=/Docs/Company/@) end 288gen_xml(prefix=/Docs/Company/@) 289/Docs/Company/@MandateName=xxx xxxxxxx-xxxxx xxxxxxx 290gen_xml(prefix=/Docs/Company/@) end 291gen_xml(prefix=/Docs/Company/@) 292/Docs/Company/@MandateCurr=EUR 293gen_xml(prefix=/Docs/Company/@) end 294gen_xml(prefix=/Docs/Company/) end 295gen_xml(prefix=/Docs/) end 296gen_xml(prefix=/Docs/) 297gen_xml(prefix=/Docs/Doc/) 298/Docs/Doc/DocID=1 299gen_xml(prefix=/Docs/Doc/) end 300gen_xml(prefix=/Docs/Doc/) 301/Docs/Doc/DocDate=19.09.06 302gen_xml(prefix=/Docs/Doc/) end 303gen_xml(prefix=/Docs/Doc/) 304/Docs/Doc/ReSubmissionDate 305gen_xml(prefix=/Docs/Doc/) end 306gen_xml(prefix=/Docs/Doc/) 307/Docs/Doc/DocTyp=Stapelauftrag 308gen_xml(prefix=/Docs/Doc/) end 309gen_xml(prefix=/Docs/Doc/) 310/Docs/Doc/CustID=00000 311gen_xml(prefix=/Docs/Doc/) end 312gen_xml(prefix=/Docs/Doc/) 313gen_xml(prefix=/Docs/Doc/CustomerAddress/) 314gen_xml(prefix=/Docs/Doc/CustomerAddress/@) 315/Docs/Doc/CustomerAddress/@Name1=name1 316gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end 317gen_xml(prefix=/Docs/Doc/CustomerAddress/@) 318/Docs/Doc/CustomerAddress/@Name2=name2 319gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end 320gen_xml(prefix=/Docs/Doc/CustomerAddress/@) 321/Docs/Doc/CustomerAddress/@Name3 322gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end 323gen_xml(prefix=/Docs/Doc/CustomerAddress/@) 324/Docs/Doc/CustomerAddress/@City=city 325gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end 326gen_xml(prefix=/Docs/Doc/CustomerAddress/@) 327/Docs/Doc/CustomerAddress/@Street=street 328gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end 329gen_xml(prefix=/Docs/Doc/CustomerAddress/@) 330/Docs/Doc/CustomerAddress/@Postal=postcode 331gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end 332gen_xml(prefix=/Docs/Doc/CustomerAddress/@) 333/Docs/Doc/CustomerAddress/@IATA=90 334gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end 335gen_xml(prefix=/Docs/Doc/CustomerAddress/@) 336/Docs/Doc/CustomerAddress/@Country=Deutschland 337gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end 338gen_xml(prefix=/Docs/Doc/CustomerAddress/@) 339/Docs/Doc/CustomerAddress/@ShortName=short 340gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end 341gen_xml(prefix=/Docs/Doc/CustomerAddress/@) 342/Docs/Doc/CustomerAddress/@ContactKey 343gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end 344gen_xml(prefix=/Docs/Doc/CustomerAddress/@) 345/Docs/Doc/CustomerAddress/@EMail=email@example.com 346gen_xml(prefix=/Docs/Doc/CustomerAddress/@) end 347gen_xml(prefix=/Docs/Doc/CustomerAddress/) end 348gen_xml(prefix=/Docs/Doc/) end 349gen_xml(prefix=/Docs/Doc/) 350/Docs/Doc/Text1 351gen_xml(prefix=/Docs/Doc/) end 352gen_xml(prefix=/Docs/Doc/) 353/Docs/Doc/Text2 354gen_xml(prefix=/Docs/Doc/) end 355gen_xml(prefix=/Docs/Doc/) 356/Docs/Doc/Wildcard1 357gen_xml(prefix=/Docs/Doc/) end 358gen_xml(prefix=/Docs/Doc/) 359/Docs/Doc/Wildcard2 360gen_xml(prefix=/Docs/Doc/) end 361gen_xml(prefix=/Docs/Doc/) 362/Docs/Doc/Dispatch=Paketdienst 363gen_xml(prefix=/Docs/Doc/) end 364gen_xml(prefix=/Docs/Doc/) 365/Docs/Doc/Weight=0,0 366gen_xml(prefix=/Docs/Doc/) end 367gen_xml(prefix=/Docs/Doc/) 368/Docs/Doc/BillingCustID=4300200000 369gen_xml(prefix=/Docs/Doc/) end 370gen_xml(prefix=/Docs/Doc/) 371/Docs/Doc/ExtDocNr=00000000003 372gen_xml(prefix=/Docs/Doc/) end 373gen_xml(prefix=/Docs/Doc/) 374/Docs/Doc/AnalysisLock 375gen_xml(prefix=/Docs/Doc/) end 376gen_xml(prefix=/Docs/Doc/) 377/Docs/Doc/PrintFlag 378gen_xml(prefix=/Docs/Doc/) end 379gen_xml(prefix=/Docs/Doc/) 380/Docs/Doc/FormType=0 381gen_xml(prefix=/Docs/Doc/) end 382gen_xml(prefix=/Docs/Doc/) 383/Docs/Doc/Curr=EUR 384gen_xml(prefix=/Docs/Doc/) end 385gen_xml(prefix=/Docs/Doc/) 386/Docs/Doc/ExChangeRate=1,0000 387gen_xml(prefix=/Docs/Doc/) end 388gen_xml(prefix=/Docs/Doc/) 389/Docs/Doc/WIRRate=0 390gen_xml(prefix=/Docs/Doc/) end 391gen_xml(prefix=/Docs/Doc/) 392gen_xml(prefix=/Docs/Doc/OneTimeCustomer/) 393gen_xml(prefix=/Docs/Doc/OneTimeCustomer/@) 394/Docs/Doc/OneTimeCustomer/@BankCode 395gen_xml(prefix=/Docs/Doc/OneTimeCustomer/@) end 396gen_xml(prefix=/Docs/Doc/OneTimeCustomer/@) 397/Docs/Doc/OneTimeCustomer/@BankAccount 398gen_xml(prefix=/Docs/Doc/OneTimeCustomer/@) end 399gen_xml(prefix=/Docs/Doc/OneTimeCustomer/) end 400gen_xml(prefix=/Docs/Doc/) end 401gen_xml(prefix=/Docs/Doc/) 402/Docs/Doc/Language=0 403gen_xml(prefix=/Docs/Doc/) end 404gen_xml(prefix=/Docs/Doc/) 405/Docs/Doc/PriceGroup=1 406gen_xml(prefix=/Docs/Doc/) end 407gen_xml(prefix=/Docs/Doc/) 408/Docs/Doc/PrFlag=0 409gen_xml(prefix=/Docs/Doc/) end 410gen_xml(prefix=/Docs/Doc/) 411/Docs/Doc/SalesTaxKey=1 412gen_xml(prefix=/Docs/Doc/) end 413gen_xml(prefix=/Docs/Doc/) 414/Docs/Doc/ProceedKey=0 415gen_xml(prefix=/Docs/Doc/) end 416gen_xml(prefix=/Docs/Doc/) 417/Docs/Doc/CustDiscountGroup=0 418gen_xml(prefix=/Docs/Doc/) end 419gen_xml(prefix=/Docs/Doc/) 420gen_xml(prefix=/Docs/Doc/Discount/) 421gen_xml(prefix=/Docs/Doc/Discount/@) 422/Docs/Doc/Discount/@FinDisc1=0,00 423gen_xml(prefix=/Docs/Doc/Discount/@) end 424gen_xml(prefix=/Docs/Doc/Discount/@) 425/Docs/Doc/Discount/@Disc1Base=145,72 426gen_xml(prefix=/Docs/Doc/Discount/@) end 427gen_xml(prefix=/Docs/Doc/Discount/@) 428/Docs/Doc/Discount/@Disc1Value=0,00 429gen_xml(prefix=/Docs/Doc/Discount/@) end 430gen_xml(prefix=/Docs/Doc/Discount/@) 431/Docs/Doc/Discount/@FinDisc2=0,00 432gen_xml(prefix=/Docs/Doc/Discount/@) end 433gen_xml(prefix=/Docs/Doc/Discount/@) 434/Docs/Doc/Discount/@Disc2Base=145,72 435gen_xml(prefix=/Docs/Doc/Discount/@) end 436gen_xml(prefix=/Docs/Doc/Discount/@) 437/Docs/Doc/Discount/@Disc2Value=0,00 438gen_xml(prefix=/Docs/Doc/Discount/@) end 439gen_xml(prefix=/Docs/Doc/Discount/@) 440/Docs/Doc/Discount/@FinDisc3=0,00 441gen_xml(prefix=/Docs/Doc/Discount/@) end 442gen_xml(prefix=/Docs/Doc/Discount/@) 443/Docs/Doc/Discount/@Disc3Base=145,72 444gen_xml(prefix=/Docs/Doc/Discount/@) end 445gen_xml(prefix=/Docs/Doc/Discount/@) 446/Docs/Doc/Discount/@Disc3Value=0,00 447gen_xml(prefix=/Docs/Doc/Discount/@) end 448gen_xml(prefix=/Docs/Doc/Discount/@) 449/Docs/Doc/Discount/@ValueSummary=0,00 450gen_xml(prefix=/Docs/Doc/Discount/@) end 451gen_xml(prefix=/Docs/Doc/Discount/) end 452gen_xml(prefix=/Docs/Doc/) end 453gen_xml(prefix=/Docs/Doc/) 454gen_xml(prefix=/Docs/Doc/Contact/) 455gen_xml(prefix=/Docs/Doc/Contact/@) 456/Docs/Doc/Contact/@Repr=999 457gen_xml(prefix=/Docs/Doc/Contact/@) end 458gen_xml(prefix=/Docs/Doc/Contact/@) 459/Docs/Doc/Contact/@Region=99 460gen_xml(prefix=/Docs/Doc/Contact/@) end 461gen_xml(prefix=/Docs/Doc/Contact/@) 462/Docs/Doc/Contact/@Commission=0,00 463gen_xml(prefix=/Docs/Doc/Contact/@) end 464gen_xml(prefix=/Docs/Doc/Contact/@) 465/Docs/Doc/Contact/@Agent=000000 466gen_xml(prefix=/Docs/Doc/Contact/@) end 467gen_xml(prefix=/Docs/Doc/Contact/) end 468gen_xml(prefix=/Docs/Doc/) end 469gen_xml(prefix=/Docs/Doc/) 470gen_xml(prefix=/Docs/Doc/Booking/) 471gen_xml(prefix=/Docs/Doc/Booking/@) 472/Docs/Doc/Booking/@CostUnit=0000000000 473gen_xml(prefix=/Docs/Doc/Booking/@) end 474gen_xml(prefix=/Docs/Doc/Booking/@) 475/Docs/Doc/Booking/@CostCentre=0000000000 476gen_xml(prefix=/Docs/Doc/Booking/@) end 477gen_xml(prefix=/Docs/Doc/Booking/@) 478/Docs/Doc/Booking/@AccountingArea=01 479gen_xml(prefix=/Docs/Doc/Booking/@) end 480gen_xml(prefix=/Docs/Doc/Booking/) end 481gen_xml(prefix=/Docs/Doc/) end 482gen_xml(prefix=/Docs/Doc/) 483/Docs/Doc/InvoiceCycleKey=0 484gen_xml(prefix=/Docs/Doc/) end 485gen_xml(prefix=/Docs/Doc/) 486/Docs/Doc/AnalysisKey 487gen_xml(prefix=/Docs/Doc/) end 488gen_xml(prefix=/Docs/Doc/) 489/Docs/Doc/OrderNumber 490gen_xml(prefix=/Docs/Doc/) end 491gen_xml(prefix=/Docs/Doc/) 492/Docs/Doc/OrderDate 493gen_xml(prefix=/Docs/Doc/) end 494gen_xml(prefix=/Docs/Doc/) 495/Docs/Doc/OrderCode 496gen_xml(prefix=/Docs/Doc/) end 497gen_xml(prefix=/Docs/Doc/) 498gen_xml(prefix=/Docs/Doc/DocItems/) 499gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 500/Docs/Doc/DocItems/DocItem/PosType=1 501gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 502gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 503/Docs/Doc/DocItems/DocItem/ItemRef=1002 504gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 505gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 506/Docs/Doc/DocItems/DocItem/CRef 507gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 508gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 509/Docs/Doc/DocItems/DocItem/Desc1=Pr�sentation Niederlande per 510gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 511gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 512/Docs/Doc/DocItems/DocItem/Desc2 513gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 514gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 515/Docs/Doc/DocItems/DocItem/ArticleGroup=102 516gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 517gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 518/Docs/Doc/DocItems/DocItem/PosTypeVersion=E 519gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 520gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 521gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Delivery/) 522gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Delivery/@) 523/Docs/Doc/DocItems/DocItem/Delivery/@DelWeek 524gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Delivery/@) end 525gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Delivery/@) 526/Docs/Doc/DocItems/DocItem/Delivery/@DelDay 527gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Delivery/@) end 528gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Delivery/@) 529/Docs/Doc/DocItems/DocItem/Delivery/@DelTime 530gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Delivery/@) end 531gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Delivery/) end 532gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 533gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 534/Docs/Doc/DocItems/DocItem/PricePu=145,72 535gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 536gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 537/Docs/Doc/DocItems/DocItem/PriceUnit=0 538gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 539gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 540/Docs/Doc/DocItems/DocItem/PriceCalculation=0 541gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 542gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 543/Docs/Doc/DocItems/DocItem/ItemVal=145,72 544gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 545gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 546/Docs/Doc/DocItems/DocItem/InputKey=0 547gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 548gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 549/Docs/Doc/DocItems/DocItem/AveragePurchasePrice=0 550gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 551gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 552gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/) 553gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/@) 554/Docs/Doc/DocItems/DocItem/Tax/@TaxCode=00 555gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/@) end 556gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/@) 557/Docs/Doc/DocItems/DocItem/Tax/@TaxBra=000 558gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/@) end 559gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/@) 560/Docs/Doc/DocItems/DocItem/Tax/@TaxBraAccess=0 561gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/@) end 562gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/@) 563/Docs/Doc/DocItems/DocItem/Tax/@TaxSumIndex=0 564gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/@) end 565gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Tax/) end 566gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 567gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 568gen_xml(prefix=/Docs/Doc/DocItems/DocItem/DiscountArticle/) 569gen_xml(prefix=/Docs/Doc/DocItems/DocItem/DiscountArticle/@) 570/Docs/Doc/DocItems/DocItem/DiscountArticle/@DiscPC=0,00 571gen_xml(prefix=/Docs/Doc/DocItems/DocItem/DiscountArticle/@) end 572gen_xml(prefix=/Docs/Doc/DocItems/DocItem/DiscountArticle/@) 573/Docs/Doc/DocItems/DocItem/DiscountArticle/@DiscKey=1 574gen_xml(prefix=/Docs/Doc/DocItems/DocItem/DiscountArticle/@) end 575gen_xml(prefix=/Docs/Doc/DocItems/DocItem/DiscountArticle/) end 576gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 577gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 578/Docs/Doc/DocItems/DocItem/ProceedKeyArticle=01 579gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 580gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 581/Docs/Doc/DocItems/DocItem/ActionKey=00 582gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 583gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 584/Docs/Doc/DocItems/DocItem/ContactCommissionArticle=0,00 585gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 586gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 587/Docs/Doc/DocItems/DocItem/QuantdependentPriceKey 588gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 589gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 590/Docs/Doc/DocItems/DocItem/Quant=1 591gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 592gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 593/Docs/Doc/DocItems/DocItem/QuantUnit 594gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 595gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 596gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/) 597gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/@) 598/Docs/Doc/DocItems/DocItem/Meas/@Count=1 599gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/@) end 600gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/@) 601/Docs/Doc/DocItems/DocItem/Meas/@Length=0,000 602gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/@) end 603gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/@) 604/Docs/Doc/DocItems/DocItem/Meas/@Width=0,000 605gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/@) end 606gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/@) 607/Docs/Doc/DocItems/DocItem/Meas/@Height=0,000 608gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/@) end 609gen_xml(prefix=/Docs/Doc/DocItems/DocItem/Meas/) end 610gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 611gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 612/Docs/Doc/DocItems/DocItem/DecimalPlace=0 613gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 614gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 615/Docs/Doc/DocItems/DocItem/MultiplierQuant=1,000000 616gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 617gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 618/Docs/Doc/DocItems/DocItem/DifferingQuantUnit 619gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 620gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 621/Docs/Doc/DocItems/DocItem/DecimalPlaceConversion=0 622gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 623gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 624gen_xml(prefix=/Docs/Doc/DocItems/DocItem/WeightArticle/) 625gen_xml(prefix=/Docs/Doc/DocItems/DocItem/WeightArticle/@) 626/Docs/Doc/DocItems/DocItem/WeightArticle/@Amount=0 627gen_xml(prefix=/Docs/Doc/DocItems/DocItem/WeightArticle/@) end 628gen_xml(prefix=/Docs/Doc/DocItems/DocItem/WeightArticle/@) 629/Docs/Doc/DocItems/DocItem/WeightArticle/@Unit=0 630gen_xml(prefix=/Docs/Doc/DocItems/DocItem/WeightArticle/@) end 631gen_xml(prefix=/Docs/Doc/DocItems/DocItem/WeightArticle/) end 632gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 633gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 634/Docs/Doc/DocItems/DocItem/Wreath=0,000 635gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 636gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 637/Docs/Doc/DocItems/DocItem/Stock=1 638gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 639gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 640/Docs/Doc/DocItems/DocItem/CostUnitArticle 641gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 642gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 643/Docs/Doc/DocItems/DocItem/SerialNbKey=0 644gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 645gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 646/Docs/Doc/DocItems/DocItem/TextComplementKey=0 647gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 648gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 649/Docs/Doc/DocItems/DocItem/PartsListPrintKey 650gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 651gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) 652/Docs/Doc/DocItems/DocItem/Prod=0000000000 653gen_xml(prefix=/Docs/Doc/DocItems/DocItem/) end 654gen_xml(prefix=/Docs/Doc/DocItems/) end 655gen_xml(prefix=/Docs/Doc/) end 656gen_xml(prefix=/Docs/Doc/) 657gen_xml(prefix=/Docs/Doc/Payment/) 658/Docs/Doc/Payment/PaymentKey=0 659gen_xml(prefix=/Docs/Doc/Payment/) end 660gen_xml(prefix=/Docs/Doc/Payment/) 661/Docs/Doc/Payment/ReminderKey=00 662gen_xml(prefix=/Docs/Doc/Payment/) end 663gen_xml(prefix=/Docs/Doc/Payment/) 664gen_xml(prefix=/Docs/Doc/Payment/PayTerms/) 665gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) 666/Docs/Doc/Payment/PayTerms/@PayTerm=1 667gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end 668gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) 669/Docs/Doc/Payment/PayTerms/@PayDays=000 670gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end 671gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) 672/Docs/Doc/Payment/PayTerms/@CashDiscDays1=000 673gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end 674gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) 675/Docs/Doc/Payment/PayTerms/@CashDiscDays2=000 676gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end 677gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) 678/Docs/Doc/Payment/PayTerms/@CashDiscPer1=0,00 679gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end 680gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) 681/Docs/Doc/Payment/PayTerms/@CashDiscPer2=0,00 682gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end 683gen_xml(prefix=/Docs/Doc/Payment/PayTerms/) end 684gen_xml(prefix=/Docs/Doc/Payment/PayTerms/) 685/Docs/Doc/Payment/PayTerms 686gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) 687/Docs/Doc/Payment/PayTerms/@PayTerm=2 688gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end 689gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) 690/Docs/Doc/Payment/PayTerms/@PayDays=000 691gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end 692gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) 693/Docs/Doc/Payment/PayTerms/@CashDiscDays1=000 694gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end 695gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) 696/Docs/Doc/Payment/PayTerms/@CashDiscDays2=000 697gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end 698gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) 699/Docs/Doc/Payment/PayTerms/@CashDiscPer1=0,00 700gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end 701gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) 702/Docs/Doc/Payment/PayTerms/@CashDiscPer2=0,00 703gen_xml(prefix=/Docs/Doc/Payment/PayTerms/@) end 704gen_xml(prefix=/Docs/Doc/Payment/PayTerms/) end 705gen_xml(prefix=/Docs/Doc/Payment/) end 706gen_xml(prefix=/Docs/Doc/) end 707gen_xml(prefix=/Docs/Doc/) 708gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/) 709gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) 710/Docs/Doc/NetAmountByTurnOverTax/@TurnOverTaxFree=145,72 711gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end 712gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) 713/Docs/Doc/NetAmountByTurnOverTax/@TurnOverTax1=0,00 714gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end 715gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) 716/Docs/Doc/NetAmountByTurnOverTax/@TurnOverTax2=0,00 717gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end 718gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) 719/Docs/Doc/NetAmountByTurnOverTax/@TurnOverTax3=0,00 720gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end 721gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) 722/Docs/Doc/NetAmountByTurnOverTax/@TurnOverTax4=0,00 723gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end 724gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) 725/Docs/Doc/NetAmountByTurnOverTax/@TurnOverTax5=0,00 726gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end 727gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) 728/Docs/Doc/NetAmountByTurnOverTax/@TurnOverTax6=0,00 729gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end 730gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) 731/Docs/Doc/NetAmountByTurnOverTax/@TurnOverTax7=0,00 732gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end 733gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) 734/Docs/Doc/NetAmountByTurnOverTax/@TurnOverTax8=0,00 735gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/@) end 736gen_xml(prefix=/Docs/Doc/NetAmountByTurnOverTax/) end 737gen_xml(prefix=/Docs/Doc/) end 738gen_xml(prefix=/Docs/Doc/) 739/Docs/Doc/GrossAmount=145,72 740gen_xml(prefix=/Docs/Doc/) end 741gen_xml(prefix=/Docs/Doc/) 742/Docs/Doc/ProceedAmount=145,72 743gen_xml(prefix=/Docs/Doc/) end 744gen_xml(prefix=/Docs/Doc/) 745gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/) 746gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) 747/Docs/Doc/NetAmountByPayTerm2/@Sum0=0,00 748gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end 749gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) 750/Docs/Doc/NetAmountByPayTerm2/@Sum1=0,00 751gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end 752gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) 753/Docs/Doc/NetAmountByPayTerm2/@Sum2=0,00 754gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end 755gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) 756/Docs/Doc/NetAmountByPayTerm2/@Sum3=0,00 757gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end 758gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) 759/Docs/Doc/NetAmountByPayTerm2/@Sum4=0,00 760gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end 761gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) 762/Docs/Doc/NetAmountByPayTerm2/@Sum5=0,00 763gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end 764gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) 765/Docs/Doc/NetAmountByPayTerm2/@Sum6=0,00 766gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end 767gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) 768/Docs/Doc/NetAmountByPayTerm2/@Sum7=0,00 769gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end 770gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) 771/Docs/Doc/NetAmountByPayTerm2/@Sum8=0,00 772gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/@) end 773gen_xml(prefix=/Docs/Doc/NetAmountByPayTerm2/) end 774gen_xml(prefix=/Docs/Doc/) end 775gen_xml(prefix=/Docs/Doc/) 776gen_xml(prefix=/Docs/Doc/TaxCodes/) 777gen_xml(prefix=/Docs/Doc/TaxCodes/@) 778/Docs/Doc/TaxCodes/@TaxCode1=0 779gen_xml(prefix=/Docs/Doc/TaxCodes/@) end 780gen_xml(prefix=/Docs/Doc/TaxCodes/@) 781/Docs/Doc/TaxCodes/@TaxCode2=0 782gen_xml(prefix=/Docs/Doc/TaxCodes/@) end 783gen_xml(prefix=/Docs/Doc/TaxCodes/@) 784/Docs/Doc/TaxCodes/@TaxCode3=0 785gen_xml(prefix=/Docs/Doc/TaxCodes/@) end 786gen_xml(prefix=/Docs/Doc/TaxCodes/@) 787/Docs/Doc/TaxCodes/@TaxCode4=0 788gen_xml(prefix=/Docs/Doc/TaxCodes/@) end 789gen_xml(prefix=/Docs/Doc/TaxCodes/@) 790/Docs/Doc/TaxCodes/@TaxCode5=0 791gen_xml(prefix=/Docs/Doc/TaxCodes/@) end 792gen_xml(prefix=/Docs/Doc/TaxCodes/@) 793/Docs/Doc/TaxCodes/@TaxCode6=0 794gen_xml(prefix=/Docs/Doc/TaxCodes/@) end 795gen_xml(prefix=/Docs/Doc/TaxCodes/@) 796/Docs/Doc/TaxCodes/@TaxCode7=0 797gen_xml(prefix=/Docs/Doc/TaxCodes/@) end 798gen_xml(prefix=/Docs/Doc/TaxCodes/@) 799/Docs/Doc/TaxCodes/@TaxCode8=0 800gen_xml(prefix=/Docs/Doc/TaxCodes/@) end 801gen_xml(prefix=/Docs/Doc/TaxCodes/) end 802gen_xml(prefix=/Docs/Doc/) end 803gen_xml(prefix=/Docs/) end 804Done 805