Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (48 sloc) 1.58 KB
xquery version "1.0-ml" ;
import module namespace h = "helpers" at "/lib/helpers.xqy" ;
xdmp:set-response-content-type( "application/xhtml+xml" ),
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="" xml:lang="en" lang="en">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title> MarkLogic Blog </title>
<link href="/css/screen.css" media="screen" rel="stylesheet" type="text/css"/>
<body id="home">
<div id="wrapper">
<div id="header">
<h1> <img border="0" alt="MarkLogic" src="/img/marklogic.png"/> Blog </h1>
<div id="nav">
<li><a href="/">Home</a></li>
<div id="content">
<div id="subcol">
<div id="maincol">
<div id="search">
<form name="form-search" action="search.xqy" id="form-search">
<input type="text" name="q" id="q" size="50"/>
<input type="submit" id="submitbtn" value="search"/>
</div><br/> {
let $uri := xdmp:get-request-field("uri")
let $a := doc(xdmp:url-encode($uri))
let $_ := xdmp:log(xdmp:quote($a))
let $_ := xdmp:log($uri)
<p>{fn:string($a//*:body)}</p>) }
<p>[ { h:link_to_index() } ]</p>
<div id="footer">
<p> Copyright © 2010 Mark Logic. All rights Reserved. </p>
Jump to Line
Something went wrong with that request. Please try again.