View Full Version : Read XML error

13th May 2009, 16:10
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:

<?xml version="1.0" encoding="UTF-8"?>
<2>D:/Program Files/Vim/vim72/gvim.exe</2>

Any idea appreciated!

13th May 2009, 16:42
Tag names cannot start with a number or punctuation character! That's no valid XML:)