This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import itertools | |
tasks = { | |
"25/10/2017": { | |
"Driving": None, | |
"Shopping": None | |
}, | |
"26/10/2017": { | |
"Cleaning": None, | |
"Cooking": None, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Add a person</title> | |
</head> | |
<body> | |
<div class="templates:surround?with=templates/page.html&at=content"> | |
<div data-template="app:addPers"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xquery version "3.1"; | |
import module namespace templates = "http://exist-db.org/xquery/templates"; | |
declare namespace tei = "http://www.tei-c.org/ns/1.0"; | |
declare option exist:serialize "method=html media-type=text/html"; | |
declare function app:XMLtoHTML($node as node(), $model as map(*)) { | |
let $xml := doc('doc.xml') |