call the function getInnerText with argument field_node, on the result call the method strip, use the result as an argument for the
value = field . to_python ( getInnerText ( field_node ) . strip ( ) )