(self, filePath, data)
Adds an extracted file's content to the xml
Adds an extracted file's content to the xml
Adds an extracted file s content to the xml
def rFile(self, filePath, data):
        '''
        Adds an extracted file's content to the xml
        '''
        fileContentElem = self.__doc.createElement(FILE_CONTENT_ELEM_NAME)
        fileContentElem.setAttributeNode(self._createAttribute(NAME_ATTR, filePath))
        fileContentElem.appendChild(self._createTextNode(data))
        self._addToRoot(fileContentElem)
def rFile ( self , filePath , data ) : fileContentElem = self . __doc . createElement ( FILE_CONTENT_ELEM_NAME ) fileContentElem . setAttributeNode ( self . _createAttribute ( NAME_ATTR , filePath ) ) fileContentElem . appendChild ( self . _createTextNode ( data ) ) self . _addToRoot ( fileContentElem )