Skip to content

Instantly share code, notes, and snippets.

@crichey
Created February 29, 2012 19:10
Show Gist options
  • Save crichey/1943621 to your computer and use it in GitHub Desktop.
Save crichey/1943621 to your computer and use it in GitHub Desktop.
tutorial 2 default 2
xdmp:set-response-content-type("text/html"),
('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>My first Mark Logic web page</title>
</head>
<body>
<p>Hello World! This application is running on MarkLogic Server version {xdmp:version()}</p>
</body>
</html>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment