Changeset 2431


Ignore:
Timestamp:
24/04/07 13:15:21 (12 years ago)
Author:
domlowe
Message:

test file parsing doc from exist

Location:
TI02-CSML/trunk/csml
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/API/ops_Dataset.py

    r2430 r2431  
    66import csml.API.existDB 
    77import cElementTree as ET 
    8 import elementtree.ElementTree 
    98 
    109 
     
    2726            existDB = csml.API.existDB.ndg_eXist(db=xmldb)   
    2827        csmlfile=existDB.getXMLRecord(COLLECTION,ID_FIELD,DOC_ID,att=1,namespaceLong=NSLONG, namespaceShort=NSSHORT) 
    29         elem=elementtree.ElementTree.fromstring(csmlfile) 
     28        elem=ET.fromstring(csmlfile) 
    3029        tree=ET.ElementTree(element=elem) 
    3130    else: 
Note: See TracChangeset for help on using the changeset viewer.