03-11-2019 12:58 AM
It is simple script to read a xml file
<? xml version = "1.0" encoding = "UTF-8" ?>
<Emergency>1</Emergency>
XML File is located in the default document folder.
it always goes to document exception as if there is no file exists or error to read the file... .
Attached is my sample test script.
03-11-2019 02:03 AM
Hi sir,
That should be correct format.
Remember to refresh the application that will read the document.
If it still doesnt work, please show the reading-stage of the script
03-11-2019 02:19 PM - edited 03-11-2019 02:20 PM
In the XML you posted you have a space in the first line between the ? mark and the x of xml, that causes an error.
If you don't have any audio in your script you can just run it in the editor
If you simplify your script to this you can just step it through and see the result
It makes it much simpler to debug these XML errors
Graham
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide