Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
Question39964054 simplest-way-to-duplicate-a-pre-existing-xml-format-in-c-sharp by dbc_MinLength
<?xml version="1.0" encoding="utf-16"?>
<message message_id="1005" message_dt="01/21/2008 09:50:23.221 AM" message_type="Work_Request" message_sub_type="New" message_dtd_version_number="2.0">
  <header>
    <from_application_id>3367e115-c873-4ac9-a1dd-7e45231dc3d5</from_application_id>
    <to_application_id>35e0cca2-e423-4ffe-ba07-7d056775c228</to_application_id>
  </header>
  <body>
    <work_request requisition_number="REQ44">
      <client client_id="44">
        <first_name>Barak</first_name>
        <last_name>Obama</last_name>
      </client>
      <patient patient_id="4444" patient_species="CANINE" patient_gender="MALE_INTACT">
        <patient_name>Bo</patient_name>
        <patient_breed>Portuguese Water Dog</patient_breed>
        <patient_birth_dt>04/04/2004</patient_birth_dt>
        <patient_weight patient_weight_uom="lbs">
          <weight>44.4</weight>
        </patient_weight>
      </patient>
      <doctor>
        <first_name>Surgeon</first_name>
        <last_name>General</last_name>
      </doctor>
      <service_add>
        <service_cd>ALB</service_cd>
        <service_cd>GLU</service_cd>
        <service_cd>BUN</service_cd>
      </service_add>
    </work_request>
  </body>
</message>
Original and re-serialized ARE equivalent.
Cached Result
Last Run: 1:30:21 pm
Compile: 0.379s
Execute: 0.487s
Memory: 1.48Mb
CPU: 0.297s