lnFile = fCREATE("test.txt",0) =fputs(lnFile,'<?xml version="1.0" encoding="UTF-8" ?>') =fputs(lnFile,[ <DATA>]) =fputs(lnFile,[ <DOC_ATTR>]) =fputs(lnFile,[ <NAME_1>Curiël</NAME_1>]) =fputs(lnFile,[ </DOC_ATTR>]) =fputs(lnFile,[ </DATA>]) =fclose(lnFile)However, the file that I created this way cannot be opened as a XML file. What I noticed is that if I create the same file in VFP, the file is correct. But created with FoxPro 2.6, it gives this error (in IE):
An invalid character was found in text content. Error processing resource 'file:///H:/projects/PRNEW/TEST.xml'. Line 4, Po... <NAME_1>CuriHas anybody an idea what I could do about that?