cubicweb/web/views/cwuser.py
branch3.26
changeset 12431 a570191d67b0
parent 12210 3fa6c9ef2f51
child 12355 c703dc95c82e
equal deleted inserted replaced
12430:5b6f54f6033a 12431:a570191d67b0
    63     content_type = 'text/xml'
    63     content_type = 'text/xml'
    64 
    64 
    65     def call(self):
    65     def call(self):
    66         self.w(u'''<?xml version="1.0" encoding="%s"?>
    66         self.w(u'''<?xml version="1.0" encoding="%s"?>
    67 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    67 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    68          xmlns:rdfs="http://www.w3org/2000/01/rdf-schema#"
    68          xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    69          xmlns:foaf="http://xmlns.com/foaf/0.1/"> ''' % self._cw.encoding)
    69          xmlns:foaf="http://xmlns.com/foaf/0.1/"> ''' % self._cw.encoding)
    70         for i in range(self.cw_rset.rowcount):
    70         for i in range(self.cw_rset.rowcount):
    71             self.cell_call(i, 0)
    71             self.cell_call(i, 0)
    72         self.w(u'</rdf:RDF>\n')
    72         self.w(u'</rdf:RDF>\n')
    73 
    73