Example 2-3: XML namespaces allow mixing different XML vocabularies

<appt:Appointment xmlns:appt="http://www.taxtime.com/Appointment">
  <appt:Name>Tina Wells</appt:Name>
  <appt:Schedule For="04/20/2000">
    <appt:Consult With="Jim" Time="10:00am">
      <appt:Regarding>
        <irs:Form id="1040" xmlns:irs="http://www.irs.gov/Form">
          <irs:Filer EFileECN="12345">
            <irs:Name>Tina Wells Johnson</irs:Name>
            <irs:TaxpayerId>987-65-4321</irs:TaxpayerId>
            <irs:Occupation>Vice President</irs:Occupation>
          </irs:Filer>
          <irs:Schedule id="B">
            <irs:Dividend Amount="12358.74">
              <irs:Payer>Bank of America</irs:Payer>
            </irs:Dividend>
          </irs:Schedule>
        </irs:Form>
      </appt:Regarding>
    </appt:Consult>
    <appt:ArrangePayment With="Ella" Time="11:00am"/>
  </appt:Schedule>
</appt:Appointment>