Hi everyone,
I am a complete novice and need to write a pseudo-code for a query (photo.xql):
xquery version "1.0";
(: Generate a photo page :)
declare namespace request="http://exist-db.org/xquery/request";
declare namespace transform = "http://exist-db.org/xquery/transform";
import module namespace history = "http:// localhost/history" at "history.xqm";
let $id := request : request-parameter ('id', '1')
let $photo := history:photoDate ($id)
let $stylesheet := doc(concat($history:CODE, 'photo.xsl'))
return
transform:transform ($photo, $stylesheet, () )
Any help with this would be greatly appricated, thi sis all I have been given and it means nothing to me at all!
Thank you