Name Parser:XML Response

From Melissa Data Wiki
Jump to navigation Jump to search

← Name Parser

Sample XML Response

<?xml version="1.0" ?> 
<ResponseArray xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Version xmlns="urn:mdWebServiceName">2.0.19</Version> 
  <TransmissionReference xmlns="urn:mdWebServiceName">Test
  </TransmissionReference> 
  <Results xmlns="urn:mdWebServiceName" /> 
  <TotalRecords xmlns="urn:mdWebServiceName">1</TotalRecords> 
  <Record xmlns="urn:mdWebServiceName">
    <RecordID>1</RecordID> 
    <Results>NS01,NS05</Results> 
    <Name>
      <Prefix /> 
      <Prefix2 /> 
      <First>Ray</First> 
      <First2 /> 
      <Middle /> 
      <Middle2 /> 
      <Last>Melissa</Last> 
      <Last2 /> 
      <Suffix /> 
      <Suffix2 /> 
      <Gender>M</Gender> 
      <Gender2 /> 
      <Salutation>Dear Mr. Melissa,</Salutation> 
    </Name>
  </Record>
</ResponseArray>