I'm using a cgi script to parse an xml file and display it as html. Each data download consists of several records.
rec1 field1|rec1 field2|rec1 field3
rec2 field1|rec2 field2|rec2 field3
Unfortunately, if a record has an empty field, the field from the previous record is displayed.
rec3 field1|rec3 field2|rec2 field3
The error is obviously in the parsing of the file because when I download the raw xml file, the empty fields are displayed empty.
Can anyone help?
Thanks
rec1 field1|rec1 field2|rec1 field3
rec2 field1|rec2 field2|rec2 field3
Unfortunately, if a record has an empty field, the field from the previous record is displayed.
rec3 field1|rec3 field2|rec2 field3
The error is obviously in the parsing of the file because when I download the raw xml file, the empty fields are displayed empty.
Can anyone help?
Thanks