Forum Discussion
Andrew_H
14 years agoOccasional Contributor
What I mean is there are documents in the XML, and its one document per <Doc> tag in the XML. Here is an example:
<RetrieveApplicationsResponse>
<Applicant>
<Name></Name>
<Email></Email>
<ApplicationTime></ApplicationTime>
<ChannelId></ChannelId>
<Rank></Rank>
<Doc DocumentType="Body" EncodingType="Base64"></Doc>
<Doc DocumentType="Attachment" FileName="Document2.doc" EncodingType="Base64"></Doc>
</Applicant>
</RetrieveApplicationsResponse>
Each <Doc> tag has a attribute DocumentType. Typically it will be 1 Body and 1 Attachment, though the XML message might have one, the other, or both, but never neither.
<RetrieveApplicationsResponse>
<Applicant>
<Name></Name>
<Email></Email>
<ApplicationTime></ApplicationTime>
<ChannelId></ChannelId>
<Rank></Rank>
<Doc DocumentType="Body" EncodingType="Base64"></Doc>
<Doc DocumentType="Attachment" FileName="Document2.doc" EncodingType="Base64"></Doc>
</Applicant>
</RetrieveApplicationsResponse>
Each <Doc> tag has a attribute DocumentType. Typically it will be 1 Body and 1 Attachment, though the XML message might have one, the other, or both, but never neither.