Exemple #1
0
    def Description(self, value):
        ''' Helper Function to generate the xml (Do not call directly)'''

        if len(value) > 0:
            return 'urwg:description="' + xml_utils.escapeXML(value) + '" '
        else:
            return r''
Exemple #2
0
    def Description(self, value):
        ''' Helper Function to generate the xml (Do not call directly)'''

        if len(value) > 0:
            return 'urwg:description="' + xml_utils.escapeXML(value) + '" '
        else:
            return r''
Exemple #3
0
    def AppendToList(
        self,
        where,
        what,
        comment,
        value,
        ):
        ''' Helper Function to generate the xml (Do not call directly)'''

        return self.VerbatimAppendToList(where, what, comment, xml_utils.escapeXML(value))
Exemple #4
0
    def AppendToList(
        self,
        where,
        what,
        comment,
        value,
    ):
        ''' Helper Function to generate the xml (Do not call directly)'''

        return self.VerbatimAppendToList(where, what, comment,
                                         xml_utils.escapeXML(value))