bl00tered
asked on
Powerbuilder 10.5 - Validate XML Format
Hi,
I am using the ImportFile function to imprt data satored in an XML file,
as below.
li_error = dw_1.ImportFile(XML!,"C:\t est\Temp.x ml")
Are there any functions I can use to ensure that the structure
of the xml file I am importing matches that of the xml tempate
I have set up in the data import setting of the dataobject.
Thanks
DL
I am using the ImportFile function to imprt data satored in an XML file,
as below.
li_error = dw_1.ImportFile(XML!,"C:\t
Are there any functions I can use to ensure that the structure
of the xml file I am importing matches that of the xml tempate
I have set up in the data import setting of the dataobject.
Thanks
DL
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Sandeep.
I thought that might be the case. I am trying to capture the error before the default Powerbuilder error message displays
li_error = dw_1.ImportFile(XML!,"C:\t est\Temp.x ml")
I can see the error value in li_error, but the PB error message fires before I can supply a more user friendly error message. Is there anyway that I can prevent PB displaying the error.
DL
I thought that might be the case. I am trying to capture the error before the default Powerbuilder error message displays
li_error = dw_1.ImportFile(XML!,"C:\t
I can see the error value in li_error, but the PB error message fires before I can supply a more user friendly error message. Is there anyway that I can prevent PB displaying the error.
DL
ASKER
I am using the ImportFile function to imprt data stored in an XML file,
as below.
li_error = dw_1.ImportFile(XML!,"C:\t
Are there any functions I can use to ensure that the structure
of the xml file I am importing matches that of the xml template
I have set up in the data import setting of the dataobject.
Thanks
DL