COB logoCOB honor code logo

 

BA372 — XML/JSON Web Services

 

XML (Harold & Means (2001), p. 30)
DTD or XSD
<person>

  <name>
    <first>Allen</first>
    <last>Turing</last>
  </name>

  <profession>computer scientist</profession>
  <profession>mathematician</profession>
  <profession>cryptographer</profession>

</person>

  <!ELEMENT first (#PCDATA)>
  <!ELEMENT last (#PCDATA)>
  <!ELEMENT profession (#PCDATA)>

  <!ELEMENT name (first, last)>
  <!ELEMENT person (name, profession*)>