Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/d/i/dita-generator-HEAD/src/python/ditagen/pdf_generator.py   dita-generator(Download)
        ET.SubElement(__root, "uri", name="cfg:fo/xsl/custom.xsl", uri="fo/xsl/custom.xsl")
        ditagen.generator.indent(__root)
        ditagen.generator.set_prefixes(__root, {"": "urn:oasis:names:tc:entity:xmlns:xml:catalog"})
        __d = ET.ElementTree(__root)
        __d.write(self.out, "UTF-8")
 
        ditagen.generator.indent(__root)
        ditagen.generator.set_prefixes(__root, self.__get_ns())
 
        __d = ET.ElementTree(__root)
 
        ditagen.generator.indent(__root)
        ditagen.generator.set_prefixes(__root, self.__get_ns())
        __d = ET.ElementTree(__root)
        __d.write(self.out, "UTF-8")
 
        ditagen.generator.indent(__root)
        ditagen.generator.set_prefixes(__root, self.__get_ns())
        __d = ET.ElementTree(__root)
        __d.write(self.out, "UTF-8")
 
        ditagen.generator.indent(__root, max=1)
        ditagen.generator.set_prefixes(__root, {"": "http://www.idiominc.com/opentopic/vars"})
        __d = ET.ElementTree(__root)
        # Write output in ASCII because ZIP writer will re-encode into UTF-8