// fail if the user doesn't have internet connectivity. The local copy\r
// also contains the 3 other PUBLIC definitions at the beginning of the dtd.\r
newContent = v.getValue();\r
- File dtdFile = new File(Global.getDirectoryPath()+"xml/enml2.dtd");\r
+ File dtdFile = Global.getFileManager().getXMLDirFile("enml2.dtd");\r
String dtd = dtdFile.toURI().toString();\r
newContent = newContent.replace("<!DOCTYPE en-note SYSTEM \'http://xml.evernote.com/pub/enml2.dtd'>", \r
"<!DOCTYPE en-note SYSTEM \"" +dtd +"\">");\r