Advertising
advertising
related pastes to tag 'xquery'
- 1917681 - Get currency rate: xquery
-
- import module namespace http = "http://expath.org/ns/http-client";
- declare namespace html = "http://www.w3.org/HTML/1998/html4";
- declare function local:rate($devise1 as xs:string, $devise2 as xs:string) as xs:decimal{
- let $dev1 := encode-for-uri($devise1)
- let $dev2 := encode-for-uri($devise2)
- let $response := http:send-request((),
- 1651961 - Cefn Hoile: xml xquery cefn.com
-
- for $page in $allpages return c:writepage(c:href($page),$page/div[*], $defaultmenu) ,
- for $person in $allpersons order by $person/@title return c:writepage(c:href($person),(c:writelabel($person), <div><h2>Projects</h2>{c:writelist($allprojects[contributor/@refid=$person/@id])}</div>, $person/div[*]), $peoplemenu),
- for $project in $allprojects return c:writepage(c:href($project),(c:writelabel($project), <div><h2>Contributors</h2>{c:writelist($allpersons[@id=$project/contributor/@refid])}</div>,$project/div[*]), $projectmenu),
- c:writepage('list_persons.html', <div>{c:writelist($allpersons)}</div>, $peoplemenu),
- c:writepage('list_projects.html', (for $date in distinct-values($allprojects/@presented) order by xs:date($date) descending return <div><h2>{string($date)}</h2><p>{c:writelist($allprojects[@presented=$date])}</p></div>), $projectmenu)
- 1651951 - Cefn Hoile: xml gigox xquery widoh cefn.com
-
- <person id="cefnhoile" title="Cefn Hoile" desc="Inventor, Engineer, Troublemaker">
- <div>
- <h2>About Me</h2>
- <p>I work in BT's Future Technologies Group, creating new forms of programming languages for non-technical people.</p>
- <p>
- Anyone local who likes my projects should join Ipswich's <a href="http://curiositycollective.org">Curiosity Collective</a>
- who experiment with playful technology for arts and sheer pleasure. That's the forum for cooking up a lot of the
- more ridiculous ideas, as well as working out how to actually build them.