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>