summaryrefslogtreecommitdiffstats
path: root/filters/ccs2coro.py
blob: cd541c001ec577f73919ad829cee74bb70e70cbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# -*- coding: UTF-8 -*-
# Copyright 2013 Red Hat, Inc.
# Part of clufter project
# Licensed under GPLv2 (a copy included | http://gnu.org/licenses/gpl-2.0.txt)

from clufter.filter import XMLFilter
#from lxml import etree


@XMLFilter.deco('ccs', 'coroxml')
def ccs2coroxml(flt, in_obj):
    #print etree.tostring(in_obj('etree').xslt(flt.get_template(in_obj)))
    return ('etree', flt.proceed_xslt(in_obj))