>Dragan:
>
>Did you ever think or writing poetry in your spare time? You have an unusual gift for words.
Thanks - comes with messing with too many languages, though I wouldn't give myself too much credit for poetry. You wouldn't guess which one was a translation from a Serbian romantic poet of XIX century, and which was my own doing... or am I just kidding myself :).
But I do write - follow the link about the novel in my signature.
>Anyway, I was trying to figure out why you would convert your code to XML when putting in on your web site. Could you not just FTP the actual .prg files and bring them down whereever you were?
Because it's a simple text file, and one file, at that. I could have copied all I need into a dbf/fpt - but a simple text is something I can even email to myself as a part of the message, put it into the clipboard, and just
xmltocursor(_cliptext, ...)
and append from that. Furthermore, I've found that doing backup into xml and resotoring from that, you get the benefit of not needing to have the exact structure the same. When you unzip your old tables, they have the old structure, right? If you just zap the new ones and append from XML-created cursors, you don't care how different the structure was when the backup was done.
>Like is there some efficiency in file size or something in FTPing text files as XML?
Unless your fields are very long and have a lot of trailing or leading spaces (same goes for zeros in long numeric fields), the XML will be longer than combined dbf+fpt. But it will zip really well.