Readable Xml with QXmlStreamWriter
Hi,
I am using QXmlStreamWriter to write a xml file, but when I open it the lines are displayed one after the other horizontally.
There is any way to do it more readable, for example, any way to add "/n" or instruction or something like that to implement a carry return?
thanks!
Re: Readable Xml with QXmlStreamWriter
Try to open it in web browser ;)
Re: Readable Xml with QXmlStreamWriter
thanks!, but, eventually I will need to edit it manually, that's why I want to use a xml file, but it's a mess.
Re: Readable Xml with QXmlStreamWriter
Better to use a XML editor. :)
Re: Readable Xml with QXmlStreamWriter
Re: Readable Xml with QXmlStreamWriter
sure! :) But it could be edited for people who, about computers, only knows MS Office :P
Anyway, if there is no way to do it, I can just create a big string and write it in a file. But I prefer to use qt objects, if possible.
Re: Readable Xml with QXmlStreamWriter
Quote:
Originally Posted by
spirit
This is cool. :cool::cool::cool:
Re: Readable Xml with QXmlStreamWriter
Quote:
Originally Posted by
jano_alex_es
sure! :) But it could be edited for people who, about computers, only knows MS Office :P
Why they need to do that. :confused:
Anyway if you write a proper formatted XML, then it will be more readable and editable.
Re: Readable Xml with QXmlStreamWriter
Quote:
Originally Posted by
spirit
thanks! thats exactly what I was looking for ^^