You must hand in by using git
bitbucket.org,
gitlab.com, or
github.com,
git push your local repo to the above remote repo.
node_modules/
.gitignore file.
Send a mail to <nmla@iba.dk> with:
handin <subjectname>'
in the subject line of your mail
Draw a diagram of a tree structure, such as:
Recommended drawing software: Dia. Download the drawing in dia-format by right-clicking: tree0.dia.
The assignment is to expand the drawing so that you are able to point out examples of all axes mentioned in Example 41.1 in todays chapter. This means telling us what is a parent, whar is a sibling etc, and relate it to the diagram.
Look at the following books file as XML. You have previously written a schema for it.
BooksCanon.xml
<?xml version="1.0" standalone="no"?>
<!DOCTYPE schema [
<!ENTITY euro "€">
]>
<booksCanon
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="booksCanon.xsd">
<book ref="Llo08" mycanon="mdu,all">
<title>Learn How to Build Web Sites the Right Way from Scratch</title>
<edition>2</edition>
<authors>
<author>
<firstname>Ian</firstname>
<lastname>Lloyd</lastname>
</author>
</authors>
<publisher>
<name>SitePoint</name>
<year>2008</year>
<place>Collingwood, VIC, Australia</place>
</publisher>
<pages>470</pages>
<isbn>978-0980455274</isbn>
<price>17.97</price>
<currency>US$</currency>
<comments>
<comment>1. sem: Chapters 1-7</comment>
</comments>
</book>
<book ref="Shu08" mycanon="mdu">
<title>Learning ActionScript 3.0</title>
<edition>2</edition>
<authors>
<author>
<firstname>Rich</firstname>
<lastname>Shupe</lastname>
</author>
<author>
<firstname>Zevan</firstname>
<lastname>Rosser</lastname>
</author>
</authors>
<publisher>
<name>O'Reilly</name>
<year>2008</year>
<place>Sebastopol, CA, USA</place>
</publisher>
<pages>384</pages>
<isbn>978-0596527877</isbn>
<price>8.73</price>
<currency>US$</currency>
<comments>
<comment>1. sem: Chapters 1-7</comment>
</comments>
</book>
<book ref="Nix09" mycanon="mdu">
<title>Learning PHP, MySQL, and JavaScript</title>
<edition>2</edition>
<authors>
<author>
<firstname>Robin</firstname>
<lastname>Nixon</lastname>
</author>
</authors>
<publisher>
<name>O'Reilly</name>
<year>2009</year>
<place>Sebastopol, CA, USA</place>
</publisher>
<pages>528</pages>
<isbn>978-0596157135</isbn>
<price>23.99</price>
<currency>US$</currency>
<comments>
<comment>2. sem: Chapters 1-7, 11, 14-17</comment>
<comment>3. sem: Chapters 8-10</comment>
</comments>
</book>
<book ref="For04" mycanon="mdu">
<title>SQL in 10 Minutes</title>
<edition>3</edition>
<authors>
<author>
<firstname>Ben</firstname>
<lastname>Forta</lastname>
</author>
</authors>
<publisher>
<name>Sams Publishing</name>
<year>2004</year>
<place>Indianapolis, IN, USA</place>
</publisher>
<pages>256</pages>
<isbn>978-0672325670</isbn>
<price>14.97</price>
<currency>EU€</currency>
<comments>
<comment>3. sem: Chapters 1-17</comment>
</comments>
</book>
</booksCanon>
Todays task is writing an xslt program that
transforms this file to HTML5 when the file is displayed
in a conformant browser. This means writing the xsl
file, and referring it from the XML. In the HTML5 you may find it convenient to put
the books into table, or possibly creating a
display that looks like a bibliography from a
report. You choose.