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

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

src/d/i/dita-generator-HEAD/src/python/ditagen/pdf_generator.py   dita-generator(Download)
            "depends": ("dita2%s.init, dita2pdf2" % self.transtype),
            })
        ditagen.generator.indent(__root)
        __d = ET.ElementTree(__root)
        __d.write(self.out, "UTF-8")
        ET.SubElement(__root, "feature", extension="dita.transtype.print", value=self.transtype)
        ET.SubElement(__root, "feature", extension="dita.conductor.target.relative", file="integrator.xml")
        ditagen.generator.indent(__root)
        __d = ET.ElementTree(__root)
        __d.write(self.out, "UTF-8")
        ET.SubElement(__root, "uri", name="cfg:fo/attrs/custom.xsl", uri="fo/attrs/custom.xsl")
        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)
                ET.SubElement(__root, NS_XSL + "variable", name=u"tocMaximumLevel").text = str(self.toc_maximum_level)
 
        ditagen.generator.indent(__root)
        ditagen.generator.set_prefixes(__root, self.__get_ns())
 
                ET.SubElement(__pre_attr, NS_XSL + "attribute", name=k).text = v
 
        ditagen.generator.indent(__root)
        ditagen.generator.set_prefixes(__root, self.__get_ns())
        __d = ET.ElementTree(__root)