- Malek Taha
- PowerBuilder
- Friday, 15 September 2023 09:04 PM UTC
Hi
I have struggled with this for a while with no success. It seems so simple and straightfoward.
i have this xml file
<?xml version="1.0"?>
<Shipment>
<Response>
<StatusCode>0</StatusCode>
<Error>
<ErrorSeverity>Hard</ErrorSeverity>
<ErrorCode>11111</ErrorCode>
<ErrorDescription>Help</ErrorDescription>
</Error>
</Response>
</Shipment>
I want to get the response element and make it the root of a document
Getting this (see below) in a string
Please help
Thanks
Malek
<Response>
<StatusCode>0</StatusCode>
<Error>
<ErrorSeverity>Hard</ErrorSeverity>
<ErrorCode>11111</ErrorCode>
<ErrorDescription>Help</ErrorDescription>
</Error>
</Response>
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.