Draw a tree for the following XML files:
1-
<person>
−
<name>
<first_name>Alan</first_name>
<last_name>Turing</last_name>
</name>
<profession>computer scientist</profession>
<profession>mathematician</profession>
<profession>cryptographer</profession>
</person>
2-
<biography>
−
<name>
<first_name>Alan</first_name>
<last_name>Turing</last_name>
</name>
was one of the first people to truly deserve the name
<emphasize>computer scientist</emphasize>
. Although his contributions
to the field are too numerous to list, his best-known are the
eponymous
<emphasize>Turing Test</emphasize>
and
<emphasize>Turing Machine</emphasize>
.
−
<definition>
The
<term>Turing Test</term>
is to this day the standard
test for determining whether a computer is truly intelligent. This
test has yet to be passed.
</definition>
−
<definition>
The
<term>Turing Machine</term>
is an abstract finite
state automaton that can be proven equivalent to any other
finite state automaton. Thus what is true for a Turing machine is
true for all equivalent machines no matter how implemented.
</definition>
−
<name>
<last_name>Turing</last_name>
</name>
was also an accomplished
<profession>mathematician</profession>
and
<profession>cryptographer</profession>
. His assistance
was crucial in helping the Allies decode the German Enigma
machine. He committed suicide on
−
<date>
<month>June</month>
<day>7</day>
,
<year>1954</year>
</date>
after being
convicted of homosexuality and forced to take female
hormone injections.
</biography>