0

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

3
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by VernonDozier
0

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

Doesn't mean anything to me either, but it doesn't look like C++. You'll probably want to post in a different forum.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.