0

I have this file here:

<?xml?> <table name="data"> <row et_kt="215846" et_nafn="" et_kt_maka="" et_kt_fjolsk="215846" et_kyn="X" et_hjusk_stada="1" et_faeddag="190201" et_danrdag="198612" /> <row et_kt="239287" et_nafn="" et_kt_maka="" et_kt_fjolsk="239287" et_kyn="X" et_hjusk_stada="4" et_faeddag="190401" et_danrdag="199106" /> . . . </table> 

Excel tell me the file is in a different format than the .xml implies. What's wrong with the format?

2 Answers 2

1

Try changing <?xml?> for <?xml version="1.0"?>.

EDIT: Check this answer for some extra information about the issue.

Sign up to request clarification or add additional context in comments.

1 Comment

Your edit: Thank you, that solved the problem! I was missing version="1.0".
1

at first glance I'd say that that there is no valid xml declaration ie <?xml version="1.0" encoding="UTF-8" ?> or as it a microsoft product may be you should try <?xml version = "1.0" encoding="Windows-1252" standalone="yes"?>

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.