nl: called with n.getAttribute('pk') method. call the m2m_convert function with an argument c, for every c in return value of the method node.getElementsByTagName,
code: return [ m2m_convert ( c ) for c in node . getElementsByTagName ( "object" ) ]