Ignore:
Timestamp:
02/08/07 13:09:13 (13 years ago)
Author:
lawrence
Message:

Fix for ticket:820

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/models/stubB.py

    r2694 r2756  
    160160        self.uri=n.uri 
    161161        self.abstract=helper.getText(elem,'abstract/abstractText') 
    162         self.description=helper.getText(elem,'descriptionSection/dgDescriptionText') 
    163         self.descriptionType=helper.getText(elem,'descriptionSection/contentType') 
     162        self.texts=[] 
     163        self.onlineRefs=[] 
     164        for e in helper.findall(elem,'descriptionSection'): 
     165            self.texts.append((helper.getText(e,'dgDescriptionText'),helper.getText(e,'contentType'))) 
    164166        online=helper.findall(elem,'descriptionSection/descriptionOnlineReference/dgSimpleLink') 
    165         self.onlineRefs=[] 
    166167        for o in online: 
    167168            self.onlineRefs.append((helper.getText(o,'name'),helper.getText(o,'URI'))) 
Note: See TracChangeset for help on using the changeset viewer.