Ignore:
Timestamp:
29/11/07 14:42:59 (12 years ago)
Author:
lawrence
Message:

Support for viewing xhtml description sections within stub-B

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/NSfunctions10.kid

    r2982 r3073  
    167167             py:replace="Experiment(xmlh.tree[0],xmlh._distributens)"/> 
    168168        <?python dc=(xmlh.tree.findall('{http://purl.org/dc/elements/1.1/dc}*') or [])?> 
    169         <table py:if="dc !=[]"><tr py:for="e in dc"> 
    170             <td>${e.tag}</td><td>${e.text}</td></tr> 
    171         </table>--> 
     169        <table py:if="dc !=[]"> 
     170            <tr py:for="e in dc"> 
     171                <!-- Following expression can't seem to be collapsed into an inline evaluation ... kid-bug? --> 
     172                <?python tag=e.tag[e.tag.find('}')+1:] ?> 
     173                <td>${tag}</td><td>${(e.text or '')}</td> 
     174            </tr> 
     175        </table> 
    172176    </div> 
    173177 
Note: See TracChangeset for help on using the changeset viewer.