The AsncTask is executed. But the execution is not brought to an end because of an exception.
You are getting a FileNotFoundEcxeption
in this line:
new PrettyXmlSerializer(props).writeToFile(node, "cleaned.xml", "utf-8");
which is caught by your catch-block preventing your app from crashing.
The Exception could be caused by:
- The path to the "cleaned.xml" file not being correct.
- Typos int he filename.