web/views/owl.py
changeset 537 f16da6c874da
parent 517 64402a18da5d
child 550 2300370b8edd
--- a/web/views/owl.py	Fri Jan 30 15:32:02 2009 +0100
+++ b/web/views/owl.py	Fri Jan 30 15:36:26 2009 +0100
@@ -30,6 +30,7 @@
     id = 'owl'
     title = _('owl')
     templatable =False
+    content_type = 'application/xml' # 'text/xml'
 
     def call(self):
         skipmeta = int(self.req.form.get('skipmeta', True))
@@ -176,11 +177,10 @@
     title = _('owlabox')
     templatable =False
     accepts = ('Any',)
+    content_type = 'application/xml' # 'text/xml'
     
     def call(self):
 
-        rql = ('Any X')
-        rset = self.req.execute(rql)
         skipmeta = int(self.req.form.get('skipmeta', True))
         self.w(u'''<?xml version="1.0" encoding="UTF-8"?>
         <!DOCTYPE rdf:RDF [