Is it compulsary to to specify if(!document.setContent(&file)) while reading?
if(!document.if(!document.setContent(&file))(&file ))
Is it compulsary to to specify if(!document.setContent(&file)) while reading?
if(!document.if(!document.setContent(&file))(&file ))
Are you asking about if () or about setContent()? setContent() is necessary as it sets your file contents to the dom document. And you don't have to use if but how you will know then that the file is not XML or is not well-formed XML?
I would like to be a "Guru"
Useful hints (try them before asking):
- Use Qt Assistant
- Search the forum
If you haven't found solution yet then create new topic with smart question.
Bookmarks