Long and short tag XML formats

XML long tag format
<Chameleon_Import>
<PatientUpdate>
   <Patient>
      <Patient.Title>JR</Patient.Title>
      <Patient.GivenName>WILLIAM</Patient.GivenName>
      <Patient.FamilyName>JONES</Patient.FamilyName>
      <Patient.DOB>1950-10-10T00:00:00</Patient.DOB>
      <Patient.Sex>M</Patient.Sex>
      <Patient.Address1>123 EAST STREET</Patient.Address1>
      <Patient.City>NY</Patient.City>
      <Patient.HomePhone>(212)111-3333</Patient.HomePhone>
      <Patient.MaritalStatus>S</Patient.MaritalStatus>
      <Patient.AcctNumber>ACCT1</Patient.AcctNumber>
   </Patient>
</PatientUpdate>
</Chameleon_Import>
Equivalent short tag format
<Chameleon_Import>
<PatientUpdate>
   <Patient>
      <Title>JR</Title>
      <GivenName>WILLIAM</GivenName>
      <FamilyName>JONES</FamilyName>
      <DOB>1950-10-10T00:00:00</DOB>
      <Sex>M</Sex>
      <Address1>123 EAST STREET</Address1>
      <City>NY</City>
      <HomePhone>(212)111-3333</HomePhone>
      <MaritalStatus>S</MaritalStatus>
      <AcctNumber>ACCT1</AcctNumber>
   </Patient>
</PatientUpdate>
</Chameleon_Import>
They were both generated from the same Chameleon table definition.

Leave A Comment?