def getchild(self, name, parent):
log.debug('<STR_LIT>', Repr(parent), name)<EOL>if name.startswith('<STR_LIT:@>'):<EOL><INDENT>return parent.get_attribute(name[<NUM_LIT:1>:])<EOL><DEDENT>else:<EOL><INDENT>return parent.get_child(name)<EOL><DEDENT>
get a child by name