Ignore:
Timestamp:
28/09/10 13:47:26 (10 years ago)
Author:
astephen
Message:

Introduced use of pygments for XML rendering.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cows_wps/trunk/cows_wps/templates/defs.xml

    r7531 r7538  
    2727    from genshi.builder import tag, Element 
    2828    def markupProcessSpecificContent(context): 
    29         PSCElement = tag.ProcessSpecificContent 
     29        PSCElement = tag.ProcessSpecificContent("\n") 
    3030         
    3131        d = context.outputs.get('ProcessSpecificContent') 
     
    3636        items = d.items() 
    3737        items.sort() 
     38 
    3839        for key, value in items: 
    39             PSCElement(Element(key)(value))("\n") 
     40            PSCElement("\t", Element(key)(value))("\n") 
    4041     
    4142        return PSCElement 
Note: See TracChangeset for help on using the changeset viewer.