Hi, Could anyone give me a hint on how to proceede with the following,
I have a Dutch and English datafile and i want to replace Dutch records with English ones, if these records match on a certain on a variable name. Here's an example of the Dutch an English input file. The variablenames -keys- are between the <name>aa001_96</name> field. Dutch file: <v><name>aa001_96</name><text> 'dutch label' </text> <v><name>aa003_96</name><text> 'another Dutch label' </text> <v><name>aa005_96</name><text> 'another Dutch label' </text> <v><name>aa018_88</name><text> 'another Dutch label' </text> etc.. English file: <v><name>aa001_96</name><text> 'English label' </text> <v><name>aa002_95</name><text> 'another English label' </text> <v><name>aa005_96</name><text> 'another English label' </text> etc.. The result-file should something look like this: Combifile: <v><name>aa001_96</name><text> 'English label' </text> <v><name>aa003_96</name><text> 'another Dutch label' </text> <v><name>aa005_96</name><text> 'another English label' </text> <v><name>aa002_95</name><text> 'another English label' </text> <v><name>aa018_88</name><text> 'another Dutch label' </text> #comment 1st line result file: English record replaces Dutch record #comment 2nd line result file: a Dutch record; no English equivalent available #comment 3rd line result file: English record, replaces Dutch record #comment 4th line result file: English record, no Dutch equivalent #comment 5th line result file: Dutch record, no English equivalent Thanks in advance, Rob Rob Grim OSA (Institute for Labour Studies) Postbus 90153 5000 LE Tilburg t: 013-4668077 f: 013-4663349 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]