Update of /cvsroot/monetdb/pathfinder/runtime/xrpc/export
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv1037/xrpc/export

Modified Files:
      Tag: XQuery_0-16
        Makefile.ag index.html 
Added Files:
      Tag: XQuery_0-16
        export.xq 
Log Message:
Partial implementation of the mxq-web-admin interface.



--- NEW FILE: export.xq ---
module namespace export = 'http://monetdb.cwi.nl/XQuery/export/';

(: Standard EXPORT module, by Ying Zhang ([EMAIL PROTECTED])
 :
 : - makes it possible to retrieve an XML document from the database
 :   using a URL of the form:
                    http://<host>[:port]/xrpc/<name>.xml
 : - standard part of the MonetDB/XQuery distribution 
 : - can only be called from IPs listed in xrpc_trusted (MonetDB.conf option)
 :)

(: =================== HTTP =================== :)

declare function admin:GET($uri as xs:string) 
{ doc($uri) };

Index: Makefile.ag
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/xrpc/export/Makefile.ag,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- Makefile.ag 11 Feb 2007 21:28:46 -0000      1.1.2.1
+++ Makefile.ag 21 Feb 2007 16:25:48 -0000      1.1.2.2
@@ -28,3 +28,9 @@
        DIR = datadir/MonetDB/xrpc/export
        SOURCES = index.html
 }
+
+scripts_xq = {
+       EXT = xq
+       DIR = datadir/MonetDB/xrpc/export
+       SOURCES = export.xq
+}

Index: index.html
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/xrpc/export/index.html,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- index.html  11 Feb 2007 21:28:46 -0000      1.1.2.1
+++ index.html  21 Feb 2007 16:25:48 -0000      1.1.2.2
@@ -1 +1,9 @@
-<!-- To be filled in -->
+<html>
+<head>
+    <title>Empty Page</title>
+</head>
+
+<body>
+    <p>Empty Page</p>
+</body>
+</html>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to