peteschulte
IS-IT--Management
Hello Coders,
Please see the jpeg for content of the xml and the error message resulting from the program below.
When I received this error before, I went into the xml file and removed a crlf. As a result, the program processed the xml file past that point and hung on the next space in the xml.
Maybe I need the xmlAdapter object?
Is it the filetostr() conversion?
Thank you for your suggestions and Happy New Year,
Please see the jpeg for content of the xml and the error message resulting from the program below.
When I received this error before, I went into the xml file and removed a crlf. As a result, the program processed the xml file past that point and hung on the next space in the xml.
Code:
SET DEFAULT TO C:\temp-CallDetail\12-29
Close Tables All
currentDir = SYS(5) + CURDIR()
? currentDir + CHR(13)+CHR(10)
SET STEP ON
xmlfile=("C0_5528.xml")
? xmlfile + CHR(13)+CHR(10)
xmlcontent = FILETOSTR(xmlfile)
? xmlcontent + CHR(13)+CHR(10)
xmltocursor("C0_5528_no_crlf.xml", "curC0_5528", 512)
COPY TO "C0_5528.dbf"
SET
Maybe I need the xmlAdapter object?
Is it the filetostr() conversion?
Thank you for your suggestions and Happy New Year,