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

All Samples(82)  |  Call(78)  |  Derive(0)  |  Import(4)

src/d/i/dita-generator-HEAD/src/python/ditagen/dita/v1_2.py   dita-generator(Download)
from ditagen.dtdgen import Name as Name 
from ditagen.dtdgen import Seq as Seq
from ditagen.dtdgen import Attribute as Attribute
from ditagen.dtdgen import Param as Param
from ditagen.dtdgen import ParameterEntity as ParameterEntity
        ])
    attrs = [
        Attribute("id", "ID", "#REQUIRED"),
        ParameterEntity("conref-atts"),
        ParameterEntity("select-atts"),
        ParameterEntity("localization-atts"),
        Attribute("outputclass", "CDATA", "#IMPLIED"),
        ])
    attrs = [
        Attribute("id", "ID", "#REQUIRED"),
        ParameterEntity("conref-atts"),
        ParameterEntity("select-atts"),
        ParameterEntity("localization-atts"),
        Attribute("outputclass", "CDATA", "#IMPLIED"),

src/d/i/dita-generator-HEAD/src/python/ditagen/dita/v1_1.py   dita-generator(Download)
 
import ditagen.dita
from ditagen.dtdgen import Attribute as Attribute
from ditagen.dtdgen import ParameterEntity as ParameterEntity
 
    #(%%s-info-types;)*
    attrs = [
        Attribute("id", "ID", "#REQUIRED"),
        Attribute("conref", "CDATA", "#IMPLIED"),
        ParameterEntity("select-atts"),
        ParameterEntity("localization-atts"),
        ParameterEntity("arch-atts"),
        Attribute("outputclass", "CDATA", "#IMPLIED"),
        (%%prolog;)?, (%%conbody;)?, (%%related-links;)?%(nested)s"""
    attrs = [
        Attribute("id", "ID", "#REQUIRED"),
        Attribute("conref", "CDATA", "#IMPLIED"),
        ParameterEntity("select-atts"),

src/d/i/dita-generator-HEAD/src/python/ditagen/dita/d4p.py   dita-generator(Download)
 
import ditagen.dita
from ditagen.dtdgen import Attribute as Attribute
from ditagen.dtdgen import ParameterEntity as ParameterEntity
 
                %(nested)s"""
    attrs = [
        Attribute("id", "ID", "#REQUIRED"),
        Attribute("conref", "CDATA", "#IMPLIED"),
        ParameterEntity("select-atts"),
        ParameterEntity("localization-atts"),
        ParameterEntity("arch-atts"),
        Attribute("outputclass", "CDATA", "#IMPLIED"),
                %(nested)s"""
    attrs = [
        Attribute("id", "ID", "#REQUIRED"),
        Attribute("conref", "CDATA", "#IMPLIED"),
        ParameterEntity("select-atts"),

src/d/i/dita-generator-HEAD/src/python/ditagen/generator.py   dita-generator(Download)
from ditagen.dtdgen import Name as Name 
from ditagen.dtdgen import Param as Param
from ditagen.dtdgen import Attribute as Attribute
from ditagen.dtdgen import ParameterEntity as ParameterEntity
import StringIO
    def __class_declaration(self, element, cls):
        """Print class declaration."""
        __attrs = [ParameterEntity(u"global-atts"), Attribute("class", "CDATA", "\"%s\"" % (cls))]
        self.attribute_declaration(element, " ".join([str(s) for s in __attrs]))