def getDocumentNode(fileName):
 xmlText = getFileText('test.xml')
 return DocumentNode(fileName, xmlText)

def getDocumentNode ( fileName ) : xmlText = getFileText ( 'test.xml' ) return DocumentNode ( fileName , xmlText )
get the document from the file name .