You need to sign in to do that
Don't have an account?

How to get the parsed XML data on VF
Hi,
We are able to parse the below XML using DOM class but not able to pass it back to VF if there are multiple childElemets. For example,
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<PostInquiryResponse xmlns="http://api.giact.com/verificationservices/v5">
<PostInquiryResult>
<OfacListPotentialMatches>
<OfacListData>
<Website>www.sniperafrica.com</Website>
<TaxIdNumber>Tax ID No. 9113562152</TaxIdNumber>
</OfacListData>
</OfacListPotentialMatches>
<OfacListPotentialMatches>
<OfacListData>
<Website>www.evergeGroup.com</Website>
<TaxIdNumber>Tax ID No. 91135</TaxIdNumber>
</OfacListData>
</OfacListPotentialMatches>
</PostInquiryResult>
</PostInquiryResponse>
</soap:Body>
</soap:Envelope>
we are able to print the child elements but how to pass it as list to VF page so that it can be used with repeat
Thanks
We are able to parse the below XML using DOM class but not able to pass it back to VF if there are multiple childElemets. For example,
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<PostInquiryResponse xmlns="http://api.giact.com/verificationservices/v5">
<PostInquiryResult>
<OfacListPotentialMatches>
<OfacListData>
<Website>www.sniperafrica.com</Website>
<TaxIdNumber>Tax ID No. 9113562152</TaxIdNumber>
</OfacListData>
</OfacListPotentialMatches>
<OfacListPotentialMatches>
<OfacListData>
<Website>www.evergeGroup.com</Website>
<TaxIdNumber>Tax ID No. 91135</TaxIdNumber>
</OfacListData>
</OfacListPotentialMatches>
</PostInquiryResult>
</PostInquiryResponse>
</soap:Body>
</soap:Envelope>
we are able to print the child elements but how to pass it as list to VF page so that it can be used with repeat
Thanks
Thanks