Hi,
I have the XML import tool working fine but I need to check the file being imported for tag errors. If a wrong tag is currently used then the page simply fails with the following error message:
Error Type: Microsoft VBScript runtime (0x800A01A8) Object required: 'docElement' /tmCorpAAA_Ops/dwzExport/XmlImport.asp, line 453
This is a result of one of the tags within the XML file being named incorrectly. Is there a method to check for this and if the error occurs notifying the end user of the problem.
Here is an example of the XML file with the wrong tag in place:
<ROOT> <Customers_users> <FFUSER_MSISDN>ms123</USER_MSISDN> <USER_UserName>[email protected]</USER_UserName> <USER_CustomerID>1</USER_CustomerID> <USER_Description>Description of [email protected]</USER_Description> <USER_CusStatus>1</USER_CusStatus> <USER_CusActive>1</USER_CusActive> <USER_Shasta>SHASTA ID</USER_Shasta> <USER_IP>01.01.01.01</USER_IP> <USER_Password>1</USER_Password> <USER_Roaming>1</USER_Roaming> </Customers_users> </ROOT>
Thanks in advance |
|
|