Did I find the right examples for you? yes no

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)

        def parse_xml_object(cls, data, url):
##    doc = xmlmap.parseString(data, url)
    doc = etree.fromstrong(data)
    return cls(doc)
        


src/f/l/Flask-FedoraCommons-0.0.5/flask_fedora_commons/lib/server.py   Flask-FedoraCommons(Download)
 
from api import HTTP_API_Base, ApiFacade, ResourceIndex
from util import AuthorizingServerConnection, \
     RelativeServerConnection, parse_xml_object, RequestFailed
 
            kwargs['numPIDs'] = count
        data, url = self.api.getNextPID(**kwargs)
        nextpids = parse_xml_object(NewPids, data, url)
 
        if count is None:
 
        data, url = self.api.findObjects(**find_opts)
        chunk = parse_xml_object(SearchResults, data, url)
        while True:
            for result in chunk.results:
                yield type(self.api, result.pid)
 
            if chunk.session_token:
                data, url = self.api.findObjects(session_token=chunk.session_token, **find_opts)
                chunk = parse_xml_object(SearchResults, data, url)