I am generating a xml file by adding a “.xml” extension to a text file. It looks like valid. But when I parse it, it says, “Content is not allowed in prolog”. So, I checked that file in hex editor and found that it has some strange characters at the beginning. How do I remove those characters?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Reading XML files which contains : in it's tags | 0 | 959 | June 27, 2018 | |
Deserialize XML: Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 3 Position 12695 | 11 | 2552 | March 24, 2023 | |
Change encoding from utf-8 to UTF-8 | 1 | 2510 | May 25, 2020 | |
Help with Regular Expression for save file.txt | 4 | 1440 | March 6, 2022 | |
Select only some parts of XML code | 19 | 1523 | July 2, 2020 |