def addBeginXMLTag(attributeDictionary, className, depth, output, text=''):
 depthStart = (' DCTB ' * depth)
 output.write(('%s<%s%s>%s\n' % (depthStart, className, getAttributeDictionaryString(attributeDictionary), text)))

def addBeginXMLTag ( attributeDictionary , className , depth , output , text = '' ) : depthStart = ( ' DCTB ' * depth ) output . write ( ( '%s<%s%s>%s\n' % ( depthStart , className , getAttributeDictionaryString ( attributeDictionary ) , text ) ) )
add the begin xml tag .