XQuery/Alphabet Poster

This toy programme creates alphabet posters using images from Wikipedia, located via dbpedia.

It is described in a blog entry

Script
} }; declare function local:editor as element(form) {   Title of Alphabet  Number of Columns  Alphabet words, unordered, separated by ,  {$alphabet}  };

declare option exist:serialize "method=xhtml media-type=text/html";

Alphabet Poster - {$action} <![CDATA[ body {font-family:Comic Sans MS;} div.cell {margin: 0 5px 10px 0; } span.letter {font-size:200%;} span.word {display:none;} ]]>      <![CDATA[ .nav {display:none} span.word {display:block; font-size:120%;font-family:Comic Sans MS; } ]]> { if ($action = "poster") then (  [edit],          local:poster          ) else if ($action="edit") then local:editor else }