Have you failed a job interview?
Send us your job interview questions and get correct answers.

Could you model an office building in XML?

Experience Level: Medior
Tags: Data FormatsXML


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

  <name>Office Building XYZ</name>
    <country>Czech Republic</country>
    <floor name="Ground floor">
    <floor name="Floor 1">
    <floor name="Floor 2">


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