Could you model an office building in XML?

Experience Level: Medior
Tags: Data FormatsXML

Answer

Well, the answer depends on the imagination of the candidate.

What would be nice to see in the answer?

  • Multiple elements/tags
  • List of elements
  • Attributes
  • Indentation 

Solution example

<building>
  <name>Office Building XYZ</name>
  <address>
    <city>Prague</city>
    <country>Czech Republic</country>
  </address>
  <floors>
    <floor name="Ground floor">
    </floor>
    <floor name="Floor 1">
    </floor>
    <floor name="Floor 2">
    </floor>
  </floors>
</building>

Comments

No Comments Yet.
Be the first to tell us what you think.

Chat

Oh, the operator is not available. Leave us your comments. We will answer all your questions as soon as possible.

Comments

Anonymous
Καλησπέρα.
Anonymous
the infinteis -3/15 so 1triition / infinet
Anonymous
e
Anonymous
<a href="https://inspirum.pl "
Anonymous
[url]https://inspirum.pl[/url]
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e