READ-XML() and Blank Temp Table Recs ...

Hauschild

New Member
Guys,

Progress 10.2B:

Using the READ-XML() method into a dataset. Have (5) temp tables defined each with a unique index on a particular field.

The temp tables get populated with the correct data. The only issue is that a blank record is inserted into a few of the temp tables. It isn't a huge issue, as when I process the data in these temp tables, I can skip the blank records. However, I was just curious as to why it does that and if anything can be done to prevent the blank records from being created.

Thanks.
 
(temp tables defined)

def DATASET dsorder
for dealerInfo
,orderInfo
,shippingMethod
,shipAddress
,item

dataset dsorder:READ-XML("FILE",w-dir + w-file,"EMPTY",?,?).

Is this where you tell me I'm doing it all wrong? :) I know Progress, but new to xml/datasets, so it's kinda been interesting picking up bits-n-pieces here and there.
 
Back
Top