Changeset 1457


Ignore:
Timestamp:
24/08/06 12:30:48 (13 years ago)
Author:
domlowe
Message:

removed defineNamespace method, not needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI07-MOLES/trunk/PythonCode/existInterface/eXistGeneralInterface.py

    r1456 r1457  
    132132        return r 
    133133         
    134     def defineNamespace(self,abNS,fullNS): 
    135         #xq="declare namespace %s='%s'",(abNS,fullNS) 
    136         xq = '' 
    137         id,summary=self.executeQuery(xq) 
    138         if summary['hits']==1: 
    139             r=self.retrieve(id,0,{}) 
    140             self.sessionRelease(id) 
    141         else: 
    142             r='none' 
    143         return r 
    144      
    145134    #getXMLRecord gets any XML record including ns:id as attribute, (added by Dom) 
    146135    def getXMLRecord(self,collID,IDdefinition,itemID,att=None,namespaceLong=None,namespaceShort=None): 
Note: See TracChangeset for help on using the changeset viewer.