I am using VFP 8.0 I need to create an xml document. I used cursortoxml which works ok. The only thing I need to do is to change the root node from <VFPData> to
<FullAdd Agency=Star-K>. I tried to write the xml to a memvar and then use strtran to make the character changes but it does not work. I am able to use the AT function to locate VFPDATA string but then when I try to use STUFF to replace the string it does not work. It does absolutely nothing to the memvar. I also tried having cursortoxml write to a file and then use filetostr to convert to memvar but this does not work either. It seems to me that there are control characters in the XML that I can not see and are somehow preventing this from working. Any help would be much appreciated.
<FullAdd Agency=Star-K>. I tried to write the xml to a memvar and then use strtran to make the character changes but it does not work. I am able to use the AT function to locate VFPDATA string but then when I try to use STUFF to replace the string it does not work. It does absolutely nothing to the memvar. I also tried having cursortoxml write to a file and then use filetostr to convert to memvar but this does not work either. It seems to me that there are control characters in the XML that I can not see and are somehow preventing this from working. Any help would be much appreciated.