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                "QuantDependantPriceKey"=>	"",
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_recursive($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_recursive($val, "gen_xml", "$prefix@");
253	}
254	else {
255	    array_walk_recursive($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--EXPECTF--
269gen_xml(prefix=/Docs/)
270/Docs/Version=1.0
271gen_xml(prefix=/Docs/) end
272gen_xml(prefix=/Docs/)
273/Docs/ProducerName=xxxxxxxx
274gen_xml(prefix=/Docs/) end
275gen_xml(prefix=/Docs/)
276/Docs/ProductName=Classic Line
277gen_xml(prefix=/Docs/) end
278gen_xml(prefix=/Docs/)
279/Docs/xmlns=x-schema:CL310_DezABFSchema.XML
280gen_xml(prefix=/Docs/) end
281gen_xml(prefix=/Docs/)
282/Docs/MandateNumber=111
283gen_xml(prefix=/Docs/) end
284gen_xml(prefix=/Docs/)
285/Docs/MandateName=xxx xxxxxxx-xxxxx xxxxxxx
286gen_xml(prefix=/Docs/) end
287gen_xml(prefix=/Docs/)
288/Docs/MandateCurr=EUR
289gen_xml(prefix=/Docs/) end
290gen_xml(prefix=/Docs/)
291/Docs/DocID=1
292gen_xml(prefix=/Docs/) end
293gen_xml(prefix=/Docs/)
294/Docs/DocDate=19.09.06
295gen_xml(prefix=/Docs/) end
296gen_xml(prefix=/Docs/)
297/Docs/ReSubmissionDate
298gen_xml(prefix=/Docs/) end
299gen_xml(prefix=/Docs/)
300/Docs/DocTyp=Stapelauftrag
301gen_xml(prefix=/Docs/) end
302gen_xml(prefix=/Docs/)
303/Docs/CustID=00000
304gen_xml(prefix=/Docs/) end
305gen_xml(prefix=/Docs/)
306/Docs/Name1=name1
307gen_xml(prefix=/Docs/) end
308gen_xml(prefix=/Docs/)
309/Docs/Name2=name2
310gen_xml(prefix=/Docs/) end
311gen_xml(prefix=/Docs/)
312/Docs/Name3
313gen_xml(prefix=/Docs/) end
314gen_xml(prefix=/Docs/)
315/Docs/City=city
316gen_xml(prefix=/Docs/) end
317gen_xml(prefix=/Docs/)
318/Docs/Street=street
319gen_xml(prefix=/Docs/) end
320gen_xml(prefix=/Docs/)
321/Docs/Postal=postcode
322gen_xml(prefix=/Docs/) end
323gen_xml(prefix=/Docs/)
324/Docs/IATA=90
325gen_xml(prefix=/Docs/) end
326gen_xml(prefix=/Docs/)
327/Docs/Country=Deutschland
328gen_xml(prefix=/Docs/) end
329gen_xml(prefix=/Docs/)
330/Docs/ShortName=short
331gen_xml(prefix=/Docs/) end
332gen_xml(prefix=/Docs/)
333/Docs/ContactKey
334gen_xml(prefix=/Docs/) end
335gen_xml(prefix=/Docs/)
336/Docs/EMail=email@example.com
337gen_xml(prefix=/Docs/) end
338gen_xml(prefix=/Docs/)
339/Docs/Text1
340gen_xml(prefix=/Docs/) end
341gen_xml(prefix=/Docs/)
342/Docs/Text2
343gen_xml(prefix=/Docs/) end
344gen_xml(prefix=/Docs/)
345/Docs/Wildcard1
346gen_xml(prefix=/Docs/) end
347gen_xml(prefix=/Docs/)
348/Docs/Wildcard2
349gen_xml(prefix=/Docs/) end
350gen_xml(prefix=/Docs/)
351/Docs/Dispatch=Paketdienst
352gen_xml(prefix=/Docs/) end
353gen_xml(prefix=/Docs/)
354/Docs/Weight=0,0
355gen_xml(prefix=/Docs/) end
356gen_xml(prefix=/Docs/)
357/Docs/BillingCustID=4300200000
358gen_xml(prefix=/Docs/) end
359gen_xml(prefix=/Docs/)
360/Docs/ExtDocNr=00000000003
361gen_xml(prefix=/Docs/) end
362gen_xml(prefix=/Docs/)
363/Docs/AnalysisLock
364gen_xml(prefix=/Docs/) end
365gen_xml(prefix=/Docs/)
366/Docs/PrintFlag
367gen_xml(prefix=/Docs/) end
368gen_xml(prefix=/Docs/)
369/Docs/FormType=0
370gen_xml(prefix=/Docs/) end
371gen_xml(prefix=/Docs/)
372/Docs/Curr=EUR
373gen_xml(prefix=/Docs/) end
374gen_xml(prefix=/Docs/)
375/Docs/ExChangeRate=1,0000
376gen_xml(prefix=/Docs/) end
377gen_xml(prefix=/Docs/)
378/Docs/WIRRate=0
379gen_xml(prefix=/Docs/) end
380gen_xml(prefix=/Docs/)
381/Docs/BankCode
382gen_xml(prefix=/Docs/) end
383gen_xml(prefix=/Docs/)
384/Docs/BankAccount
385gen_xml(prefix=/Docs/) end
386gen_xml(prefix=/Docs/)
387/Docs/Language=0
388gen_xml(prefix=/Docs/) end
389gen_xml(prefix=/Docs/)
390/Docs/PriceGroup=1
391gen_xml(prefix=/Docs/) end
392gen_xml(prefix=/Docs/)
393/Docs/PrFlag=0
394gen_xml(prefix=/Docs/) end
395gen_xml(prefix=/Docs/)
396/Docs/SalesTaxKey=1
397gen_xml(prefix=/Docs/) end
398gen_xml(prefix=/Docs/)
399/Docs/ProceedKey=0
400gen_xml(prefix=/Docs/) end
401gen_xml(prefix=/Docs/)
402/Docs/CustDiscountGroup=0
403gen_xml(prefix=/Docs/) end
404gen_xml(prefix=/Docs/)
405/Docs/FinDisc1=0,00
406gen_xml(prefix=/Docs/) end
407gen_xml(prefix=/Docs/)
408/Docs/Disc1Base=145,72
409gen_xml(prefix=/Docs/) end
410gen_xml(prefix=/Docs/)
411/Docs/Disc1Value=0,00
412gen_xml(prefix=/Docs/) end
413gen_xml(prefix=/Docs/)
414/Docs/FinDisc2=0,00
415gen_xml(prefix=/Docs/) end
416gen_xml(prefix=/Docs/)
417/Docs/Disc2Base=145,72
418gen_xml(prefix=/Docs/) end
419gen_xml(prefix=/Docs/)
420/Docs/Disc2Value=0,00
421gen_xml(prefix=/Docs/) end
422gen_xml(prefix=/Docs/)
423/Docs/FinDisc3=0,00
424gen_xml(prefix=/Docs/) end
425gen_xml(prefix=/Docs/)
426/Docs/Disc3Base=145,72
427gen_xml(prefix=/Docs/) end
428gen_xml(prefix=/Docs/)
429/Docs/Disc3Value=0,00
430gen_xml(prefix=/Docs/) end
431gen_xml(prefix=/Docs/)
432/Docs/ValueSummary=0,00
433gen_xml(prefix=/Docs/) end
434gen_xml(prefix=/Docs/)
435/Docs/Repr=999
436gen_xml(prefix=/Docs/) end
437gen_xml(prefix=/Docs/)
438/Docs/Region=99
439gen_xml(prefix=/Docs/) end
440gen_xml(prefix=/Docs/)
441/Docs/Commission=0,00
442gen_xml(prefix=/Docs/) end
443gen_xml(prefix=/Docs/)
444/Docs/Agent=000000
445gen_xml(prefix=/Docs/) end
446gen_xml(prefix=/Docs/)
447/Docs/CostUnit=0000000000
448gen_xml(prefix=/Docs/) end
449gen_xml(prefix=/Docs/)
450/Docs/CostCentre=0000000000
451gen_xml(prefix=/Docs/) end
452gen_xml(prefix=/Docs/)
453/Docs/AccountingArea=01
454gen_xml(prefix=/Docs/) end
455gen_xml(prefix=/Docs/)
456/Docs/InvoiceCycleKey=0
457gen_xml(prefix=/Docs/) end
458gen_xml(prefix=/Docs/)
459/Docs/AnalysisKey
460gen_xml(prefix=/Docs/) end
461gen_xml(prefix=/Docs/)
462/Docs/OrderNumber
463gen_xml(prefix=/Docs/) end
464gen_xml(prefix=/Docs/)
465/Docs/OrderDate
466gen_xml(prefix=/Docs/) end
467gen_xml(prefix=/Docs/)
468/Docs/OrderCode
469gen_xml(prefix=/Docs/) end
470gen_xml(prefix=/Docs/)
471/Docs/PosType=1
472gen_xml(prefix=/Docs/) end
473gen_xml(prefix=/Docs/)
474/Docs/ItemRef=1002
475gen_xml(prefix=/Docs/) end
476gen_xml(prefix=/Docs/)
477/Docs/CRef
478gen_xml(prefix=/Docs/) end
479gen_xml(prefix=/Docs/)
480/Docs/Desc1=Pr�sentation Niederlande per
481gen_xml(prefix=/Docs/) end
482gen_xml(prefix=/Docs/)
483/Docs/Desc2
484gen_xml(prefix=/Docs/) end
485gen_xml(prefix=/Docs/)
486/Docs/ArticleGroup=102
487gen_xml(prefix=/Docs/) end
488gen_xml(prefix=/Docs/)
489/Docs/PosTypeVersion=E
490gen_xml(prefix=/Docs/) end
491gen_xml(prefix=/Docs/)
492/Docs/DelWeek
493gen_xml(prefix=/Docs/) end
494gen_xml(prefix=/Docs/)
495/Docs/DelDay
496gen_xml(prefix=/Docs/) end
497gen_xml(prefix=/Docs/)
498/Docs/DelTime
499gen_xml(prefix=/Docs/) end
500gen_xml(prefix=/Docs/)
501/Docs/PricePu=145,72
502gen_xml(prefix=/Docs/) end
503gen_xml(prefix=/Docs/)
504/Docs/PriceUnit=0
505gen_xml(prefix=/Docs/) end
506gen_xml(prefix=/Docs/)
507/Docs/PriceCalculation=0
508gen_xml(prefix=/Docs/) end
509gen_xml(prefix=/Docs/)
510/Docs/ItemVal=145,72
511gen_xml(prefix=/Docs/) end
512gen_xml(prefix=/Docs/)
513/Docs/InputKey=0
514gen_xml(prefix=/Docs/) end
515gen_xml(prefix=/Docs/)
516/Docs/AveragePurchasePrice=0
517gen_xml(prefix=/Docs/) end
518gen_xml(prefix=/Docs/)
519/Docs/TaxCode=00
520gen_xml(prefix=/Docs/) end
521gen_xml(prefix=/Docs/)
522/Docs/TaxBra=000
523gen_xml(prefix=/Docs/) end
524gen_xml(prefix=/Docs/)
525/Docs/TaxBraAccess=0
526gen_xml(prefix=/Docs/) end
527gen_xml(prefix=/Docs/)
528/Docs/TaxSumIndex=0
529gen_xml(prefix=/Docs/) end
530gen_xml(prefix=/Docs/)
531/Docs/DiscPC=0,00
532gen_xml(prefix=/Docs/) end
533gen_xml(prefix=/Docs/)
534/Docs/DiscKey=1
535gen_xml(prefix=/Docs/) end
536gen_xml(prefix=/Docs/)
537/Docs/ProceedKeyArticle=01
538gen_xml(prefix=/Docs/) end
539gen_xml(prefix=/Docs/)
540/Docs/ActionKey=00
541gen_xml(prefix=/Docs/) end
542gen_xml(prefix=/Docs/)
543/Docs/ContactCommissionArticle=0,00
544gen_xml(prefix=/Docs/) end
545gen_xml(prefix=/Docs/)
546/Docs/QuantDependantPriceKey
547gen_xml(prefix=/Docs/) end
548gen_xml(prefix=/Docs/)
549/Docs/Quant=1
550gen_xml(prefix=/Docs/) end
551gen_xml(prefix=/Docs/)
552/Docs/QuantUnit
553gen_xml(prefix=/Docs/) end
554gen_xml(prefix=/Docs/)
555/Docs/Count=1
556gen_xml(prefix=/Docs/) end
557gen_xml(prefix=/Docs/)
558/Docs/Length=0,000
559gen_xml(prefix=/Docs/) end
560gen_xml(prefix=/Docs/)
561/Docs/Width=0,000
562gen_xml(prefix=/Docs/) end
563gen_xml(prefix=/Docs/)
564/Docs/Height=0,000
565gen_xml(prefix=/Docs/) end
566gen_xml(prefix=/Docs/)
567/Docs/DecimalPlace=0
568gen_xml(prefix=/Docs/) end
569gen_xml(prefix=/Docs/)
570/Docs/MultiplierQuant=1,000000
571gen_xml(prefix=/Docs/) end
572gen_xml(prefix=/Docs/)
573/Docs/DifferingQuantUnit
574gen_xml(prefix=/Docs/) end
575gen_xml(prefix=/Docs/)
576/Docs/DecimalPlaceConversion=0
577gen_xml(prefix=/Docs/) end
578gen_xml(prefix=/Docs/)
579/Docs/Amount=0
580gen_xml(prefix=/Docs/) end
581gen_xml(prefix=/Docs/)
582/Docs/Unit=0
583gen_xml(prefix=/Docs/) end
584gen_xml(prefix=/Docs/)
585/Docs/Wreath=0,000
586gen_xml(prefix=/Docs/) end
587gen_xml(prefix=/Docs/)
588/Docs/Stock=1
589gen_xml(prefix=/Docs/) end
590gen_xml(prefix=/Docs/)
591/Docs/CostUnitArticle
592gen_xml(prefix=/Docs/) end
593gen_xml(prefix=/Docs/)
594/Docs/SerialNbKey=0
595gen_xml(prefix=/Docs/) end
596gen_xml(prefix=/Docs/)
597/Docs/TextComplementKey=0
598gen_xml(prefix=/Docs/) end
599gen_xml(prefix=/Docs/)
600/Docs/PartsListPrintKey
601gen_xml(prefix=/Docs/) end
602gen_xml(prefix=/Docs/)
603/Docs/Prod=0000000000
604gen_xml(prefix=/Docs/) end
605gen_xml(prefix=/Docs/)
606/Docs/PaymentKey=0
607gen_xml(prefix=/Docs/) end
608gen_xml(prefix=/Docs/)
609/Docs/ReminderKey=00
610gen_xml(prefix=/Docs/) end
611gen_xml(prefix=/Docs/)
612/Docs/PayTerm=1
613gen_xml(prefix=/Docs/) end
614gen_xml(prefix=/Docs/)
615/Docs/PayDays=000
616gen_xml(prefix=/Docs/) end
617gen_xml(prefix=/Docs/)
618/Docs/CashDiscDays1=000
619gen_xml(prefix=/Docs/) end
620gen_xml(prefix=/Docs/)
621/Docs/CashDiscDays2=000
622gen_xml(prefix=/Docs/) end
623gen_xml(prefix=/Docs/)
624/Docs/CashDiscPer1=0,00
625gen_xml(prefix=/Docs/) end
626gen_xml(prefix=/Docs/)
627/Docs/CashDiscPer2=0,00
628gen_xml(prefix=/Docs/) end
629gen_xml(prefix=/Docs/)
630/Docs/PayTerm=2
631gen_xml(prefix=/Docs/) end
632gen_xml(prefix=/Docs/)
633/Docs/PayDays=000
634gen_xml(prefix=/Docs/) end
635gen_xml(prefix=/Docs/)
636/Docs/CashDiscDays1=000
637gen_xml(prefix=/Docs/) end
638gen_xml(prefix=/Docs/)
639/Docs/CashDiscDays2=000
640gen_xml(prefix=/Docs/) end
641gen_xml(prefix=/Docs/)
642/Docs/CashDiscPer1=0,00
643gen_xml(prefix=/Docs/) end
644gen_xml(prefix=/Docs/)
645/Docs/CashDiscPer2=0,00
646gen_xml(prefix=/Docs/) end
647gen_xml(prefix=/Docs/)
648/Docs/TurnOverTaxFree=145,72
649gen_xml(prefix=/Docs/) end
650gen_xml(prefix=/Docs/)
651/Docs/TurnOverTax1=0,00
652gen_xml(prefix=/Docs/) end
653gen_xml(prefix=/Docs/)
654/Docs/TurnOverTax2=0,00
655gen_xml(prefix=/Docs/) end
656gen_xml(prefix=/Docs/)
657/Docs/TurnOverTax3=0,00
658gen_xml(prefix=/Docs/) end
659gen_xml(prefix=/Docs/)
660/Docs/TurnOverTax4=0,00
661gen_xml(prefix=/Docs/) end
662gen_xml(prefix=/Docs/)
663/Docs/TurnOverTax5=0,00
664gen_xml(prefix=/Docs/) end
665gen_xml(prefix=/Docs/)
666/Docs/TurnOverTax6=0,00
667gen_xml(prefix=/Docs/) end
668gen_xml(prefix=/Docs/)
669/Docs/TurnOverTax7=0,00
670gen_xml(prefix=/Docs/) end
671gen_xml(prefix=/Docs/)
672/Docs/TurnOverTax8=0,00
673gen_xml(prefix=/Docs/) end
674gen_xml(prefix=/Docs/)
675/Docs/GrossAmount=145,72
676gen_xml(prefix=/Docs/) end
677gen_xml(prefix=/Docs/)
678/Docs/ProceedAmount=145,72
679gen_xml(prefix=/Docs/) end
680gen_xml(prefix=/Docs/)
681/Docs/Sum0=0,00
682gen_xml(prefix=/Docs/) end
683gen_xml(prefix=/Docs/)
684/Docs/Sum1=0,00
685gen_xml(prefix=/Docs/) end
686gen_xml(prefix=/Docs/)
687/Docs/Sum2=0,00
688gen_xml(prefix=/Docs/) end
689gen_xml(prefix=/Docs/)
690/Docs/Sum3=0,00
691gen_xml(prefix=/Docs/) end
692gen_xml(prefix=/Docs/)
693/Docs/Sum4=0,00
694gen_xml(prefix=/Docs/) end
695gen_xml(prefix=/Docs/)
696/Docs/Sum5=0,00
697gen_xml(prefix=/Docs/) end
698gen_xml(prefix=/Docs/)
699/Docs/Sum6=0,00
700gen_xml(prefix=/Docs/) end
701gen_xml(prefix=/Docs/)
702/Docs/Sum7=0,00
703gen_xml(prefix=/Docs/) end
704gen_xml(prefix=/Docs/)
705/Docs/Sum8=0,00
706gen_xml(prefix=/Docs/) end
707gen_xml(prefix=/Docs/)
708/Docs/TaxCode1=0
709gen_xml(prefix=/Docs/) end
710gen_xml(prefix=/Docs/)
711/Docs/TaxCode2=0
712gen_xml(prefix=/Docs/) end
713gen_xml(prefix=/Docs/)
714/Docs/TaxCode3=0
715gen_xml(prefix=/Docs/) end
716gen_xml(prefix=/Docs/)
717/Docs/TaxCode4=0
718gen_xml(prefix=/Docs/) end
719gen_xml(prefix=/Docs/)
720/Docs/TaxCode5=0
721gen_xml(prefix=/Docs/) end
722gen_xml(prefix=/Docs/)
723/Docs/TaxCode6=0
724gen_xml(prefix=/Docs/) end
725gen_xml(prefix=/Docs/)
726/Docs/TaxCode7=0
727gen_xml(prefix=/Docs/) end
728gen_xml(prefix=/Docs/)
729/Docs/TaxCode8=0
730gen_xml(prefix=/Docs/) end
731Done
732