#NEWLINE# def create( modelXbrl , inputXbrlInstance = None , sourceElement = None ) : #NEWLINE# #INDENT# return XPathContext ( sourceElement , ( inputXbrlInstance if inputXbrlInstance else modelXbrl . modelDocument ) , sourceElement )