Hi, I have save some date in an XML file using DOM. But when I try to read from the file, the QDomDocument::setContent(QFile)always return false. The following is what my xml file contains:
Qt Code:
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <easygo>
  3. <1>H:/qtapplication/easygo/debug/easygo.exe</1>
  4. <1>H:/qtapplication/easygo/debug/easygo.o</1>
  5. <1>H:/qtapplication/easygo/debug/main.o</1>
  6. <2>D:/Program Files/Vim/vim72/gvim.exe</2>
  7. <2>H:/qtapplication/easygo/debug/moc_easygo.cpp</2>
  8. <2>H:/qtapplication/easygo/debug/moc_easygo.o</2>
  9. </easygo>
To copy to clipboard, switch view to plain text mode 

Any idea appreciated!