Skip to main content
100%

{$title}

✓ Published0🌍 Public
CCliffordAnderson
Last edited Apr 10, 2015
Created on Apr 10, 2015

This example demonstrates a minimal XQuery web application for the Corpus Baudelaire project, serving static XHTML pages and dynamic poem routes. It shows how RESTXQ annotations declare endpoints for the root path, an about page, a credits page, and a parameterized poem URL, with each route returning a simple HTML document via a shared display function. The code relies on the RESTXQ API for request routing and the XQuery standard library for string concatenation and element construction, though it renders no actual data visualization.

AI-generated description

Similar vizzes