Kalan
Member
Hi,
Could someone please tell me how to debug when X-document load function returns error on below scenario, not sure why I get an error while loading valid XML file. May I know how load function validates/return error on this case.
Thanks.
pseudo code data/code:
================
Sample.xml content,
<?xml version="1.0"?>
Nested nodes follow this above line
cFileName = "C:\Temp\Sample.xml".
CREATE X-DOCUMENT hDocument.
ASSIGN lvError = hDocument:LOAD("FILE":U, cFileName, FALSE) no-error.
Here lvError value as FALSE as LOAD method not successful.
Could someone please tell me how to debug when X-document load function returns error on below scenario, not sure why I get an error while loading valid XML file. May I know how load function validates/return error on this case.
Thanks.
pseudo code data/code:
================
Sample.xml content,
<?xml version="1.0"?>
Nested nodes follow this above line
cFileName = "C:\Temp\Sample.xml".
CREATE X-DOCUMENT hDocument.
ASSIGN lvError = hDocument:LOAD("FILE":U, cFileName, FALSE) no-error.
Here lvError value as FALSE as LOAD method not successful.