示例#1
0
文件: record.py 项目: djw8605/Gratia
    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''
示例#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''
示例#3
0
文件: record.py 项目: djw8605/Gratia
    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))
示例#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))