Did I find the right examples for you? yes no

All Samples(5)  |  Call(0)  |  Derive(0)  |  Import(5)
>>> from amara.writers.struct import *
>>> w = structwriter(indent=u"yes").feed(ROOT(
  E((u'urn:x-bogus1', u'n:a'), {(u'urn:x-bogus1', u'n:x'): u'1'},
    E((u'urn:x-bogus2', u'b'), u'c'), RAW('<test />')
  )))

src/a/k/Akara-2.0.0a4/demo/etc/MoinMoin/action/atom_rc.py   Akara(Download)
from MoinMoin.wikixml.util import RssGenerator
 
from amara.writers.struct import structencoder, E, E_CURSOR, NS, ROOT, RAW
from amara.namespaces import ATOM_NAMESPACE
 

src/a/k/Akara-2.0.0a4/demo/etc/MoinMoin/formatter/application_xml.py   Akara(Download)
 
from amara import tree
from amara.writers.struct import structwriter, E, NS, ROOT, RAW
from amara.bindery.html import markup_fragment
from amara.lib import inputsource

src/a/k/Akara-2.0.0a4/lib/demo/moinrest.py   Akara(Download)
import amara
from amara import bindery
from amara.writers.struct import structencoder, E, NS, ROOT, RAW
from amara.bindery.html import parse as htmlparse
from amara.bindery.model import examplotron_model, generate_metadata

src/a/k/Akamu-0.7/lib/demo/gsp_validator.py   Akamu(Download)
from amara.lib.util                 import *
from amara.xslt                     import transform
from amara.writers.struct           import structwriter, E, NS, ROOT, RAW
from akara.services                 import simple_service, service
from akara                          import response

src/a/m/Amara-2.0.0/test/writers/test_struct.py   Amara(Download)
import amara
from amara.lib import treecompare
from amara.writers.struct import structwriter, structencoder, E, NS, ROOT, RAW, E_CURSOR
#from amara import tree
#from amara import bindery