Web Science/Part1: Foundations of the web/Web content/Working with XML/quiz

From Wikiversity
Jump to navigation Jump to search

1 A DOM tree

is only another representation of the XML text
comes with an API to select parts of an XML document
can be mapped bijectively to the XML text

2 By what means is Web content accessed

screen reader
Braille display
touch screen
tablet
mobile
TV set
Web crawler

3 Determine well-formedness of the following XML snippets

<tracktitle id="42">Aguas di Marco</tracktitle id="42">
<tracktitle id="42"/>Aguas di Marco</tracktitle>
<track><tracktitle>Aguas di Marco</track></track>
<track><tracktitle>Aguas di Marco</track></tracktitle>
<track/>
<track><tracktitle>Aguas di Marco<trackartist>Aguas di Marco</track>


Other Quiz ideas[edit]

1. Which of the following three DOM trees correctly represents the following XML snippet