SRWHandlers
index
/home/cheshire/cheshire/cheshire/python/SRW1.1/SRWHandlers.py

# Handlers for SRW Operations
# Version: 1.1
# Author:  Rob Sanderson (azaroth@liv.ac.uk)

 
Modules
            
PyZ3950.CQLParser
SRWConfig
SRWState
SRWTypes
cStringIO
ZSI.TC
ZSI.TCapache
ZSI.TCcompound
ZSI.TCnumbers
ZSI.TCtimes
cgi
ZSI.fault
os
ZSI.parse
pg
PyZ3950.pqf
re
string
sys
time
traceback
types
ZSI.version
ZSI.writer
PyZ3950.z3950
PyZ3950.zmarc
PyZ3950.zoom
 
Functions
            
DCGRS1Handler(record, schema)
Convert GRS1 record into Dublin Core
MARCHandler(record, schema)
Convert MARC record into various schemas
Unesco2ZthesHandler(record, schema)
Convert Unesco database into Zthes schema
attributeFix(match)
 SGML to XML regular expression function. Quotes attributes
cheshireXPathHandler(record, schema)
handlePostgres(self, req, config)
 Handle postgres layer as opposed to Z39.50 layer
lowerElement(match)
 SGML to XML regular expression function. Converts elements to lowercase.
parseCQL(self, conf)
 Turn CQL String/XCQL XML into Objects
parseSortKeys(self)
 Parse sortKeys parameter to sortStructure
processQuery(self, req)
 Send off query to Z target and handle results
processQueryAuthToken(self, req, config)
processQueryExplain(self, req)
scanProcessQuery(self, req)
 
Data
             EMPTY_NAMESPACE = None
ZSI_SCHEMA_URI = 'http://www.zolera.com/schemas/ZSI/'
__file__ = './SRWHandlers.pyc'
__name__ = 'SRWHandlers'
asciiChars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!"#$%\'()+,-./:;=@[]_`{|}~'
oldpackagedir = '/usr/lib/python1.5/site-packages'
randomGen = <random.Random instance>