Can anyone tell me why the following is giving me an Invalid Data Packet error.
This is the XML I'm attempting to transform <?xml version="1.0" standalone="yes" ?> - <ERRORS> - <ERROR> <ERRORNUMBER>551</ERRORNUMBER> <ERRORMESSAGE>You last accessed this system less than 2 minutes ago. Your query has been terminated, and the attempt has been logged...</ERRORMESSAGE> <ERRORDETAIL>CarrierID=16318</ERRORDETAIL> </ERROR> </ERRORS And this is the code: dmResponder.XMLTransform.SourceXMLFile := 'C:\OpenShipments.xml'; dmResponder.XMLTransform.TransformationFile := 'C:\Development\NLMResponder\OpenShipmentsErrorToDataPacket.xtr'; dmResponder.cdsOpenShipmentErrors.Data := dmResponder.XMLTransform.Data; The Transformation file seems to be correct. I used the XMLMapper.exe to create it using the XML above and the clientDataSet has three fields defined : ErrorNumber int ErrorMessage string 255 ErrorDetail string 255 Any ideas? Sincerely, Brad Gies ------------------------------------- NLM Software Southfield, MI, USA ------------------------------------- This e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this message in error, please contact the sender immediately and delete the material from your computer. __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
