Changeset 1599 for TI01-discovery


Ignore:
Timestamp:
18/10/06 14:37:11 (13 years ago)
Author:
selatham
Message:

oaiClean.py included <doc> element around ingested discovery document.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/trunk/ingestAutomation/OAIBatch/oaiClean.py

    r1590 r1599  
    4040        k=ET.SubElement(kws,'keyword') 
    4141        k.text=keyword 
     42    doc=ET.SubElement(outTree,'doc') 
    4243     
    4344     
     
    4950         
    5051    #bif it in the output 
    51     outTree.append(newDoc) 
     52    doc.append(newDoc) 
    5253     
    5354    # this is wrong, we need to know what the input encoding is, but it'll do for now. 
Note: See TracChangeset for help on using the changeset viewer.