Changeset 6709 for TI01-discovery-Ingest/trunk/v4n_MEDIN/ingestAutomation-upgrade/OAIBatch/ExtractISO.py
- Timestamp:
- 09/03/10 15:11:40 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI01-discovery-Ingest/trunk/v4n_MEDIN/ingestAutomation-upgrade/OAIBatch/ExtractISO.py
r6685 r6709 141 141 self.authors_text = self.authors 142 142 self.authors_ts_vector = self.authors 143 143 144 144 self.datacentreName = self.getElementVal(self.isoModel.dataCentreName()) 145 145 … … 623 623 624 624 thisEl = self.doFindall(el,thisElXpth) 625 625 626 626 #if there's a value for the actual xpath we want, go and get the dependant value 627 627 if thisEl != 'None': 628 628 629 629 elVal = thisEl[0].text #NOTE take first one as we expect this to be the value we want 630 631 #catch any nones here.. 632 if elVal is None: 633 return 'None' 630 634 631 635 thisEldepXpth = self.appendNameSpace(depXpath) 632 636 thisDepEl = self.doFindall(el,thisEldepXpth) 633 637 634 638 if thisDepEl != 'None': 635 639
Note: See TracChangeset
for help on using the changeset viewer.