Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/a/m/Amara-2.0.0/lib/xslt/__init__.py   Amara(Download)
    from amara.lib import inputsource
    from amara.xpath.util import parameterize
    from amara.xslt.result import streamresult, stringresult
    from amara.xslt.processor import processor
    params = parameterize(params) if params else {}
        proc.append_transform(inputsource(transforms))
    if output is not None:
        result = streamresult(output)
    else:
        result = stringresult()

src/a/k/Akamu-0.7/lib/xslt/__init__.py   Akamu(Download)
def TransformWithAkamuExtensions(src,xform,manager,params=None,baseUri=None):
    import warnings;warnings.warn("Akamu XSLT extensions are not fully supported!")
    baseUri = baseUri if baseUri else NS
    from amara.xslt.result import streamresult
    from amara.xpath.util import parameterize
    processor.registerExtensionModules(['akamu.xslt.extensions'])
 
    result = streamresult(StringIO())
    source = inputsource(src,baseUri)#InputSource.DefaultFactory.fromString(src,baseUri)
    isrc   = inputsource(xform,baseUri)#InputSource.DefaultFactory.fromString(xform,baseUri)