xml to soap
I need to take a SQL defined Xml that looks like this...
<optiondata>
<system.admission_data>
<AdmissionDate>2020-06-15</AdmissionDate>
<AdmissionTime>07:15 PM </AdmissionTime>
<ClientName>Doe, John</ClientName>
<EpisodeNumber>1</EpisodeNumber>
<Program>3958</Program>
<sex>M</sex>
<TypeOfAdmission>01</TypeOfAdmission>
</system.admission_data>
<ClientID>123456</ClientID>
<Episode>1</Episode>
</optiondata>
and change it to this...
<tem:UpdateAdmission>
<tem:SystemCode>Code</tem:SystemCode>
<tem:UserName>Username</tem:UserName>
<tem:Password>Password</tem:Password>
<tem:ClientAdmissionInfo>
<tem:AdmissionDate>2020-06-15</tem:AdmissionDate>
<tem:AdmissionTime>07:15 PM</tem:AdmissionTime>
<tem:ClientName>Doe,JOHN</tem:ClientName>
<tem:EpisodeNumber>1</tem:EpisodeNumber>
<tem:Program> 3958</tem:Program>
<tem:Sex>M</tem:Sex>
<tem:TypeOfAdmission>01</tem:TypeOfAdmission>
</tem:ClientAdmissionInfo>
<tem:ClientID>123456</tem:ClientID>
<tem:Episode>1</tem:Episode>
</tem:UpdateAdmission>
thank you...i used a macro to address the issue.