def self_uri(soup):
self_uri = []<EOL>self_uri_tags = raw_parser.self_uri(soup)<EOL>position = <NUM_LIT:1><EOL>for tag in self_uri_tags:<EOL><INDENT>item = {}<EOL>copy_attribute(tag.attrs, '<STR_LIT>', item, '<STR_LIT>')<EOL>copy_attribute(tag.attrs, '<STR_LIT>', item)<EOL>nodenames = ["<STR_LIT>"]<EOL>details = tag_details(tag, nodenames)<EOL>copy_attribute(details, '<STR_LIT:type>', item)<EOL>item['<STR_LIT>'] = position<EOL>item['<STR_LIT>'] = tag_ordinal(tag)<EOL>self_uri.append(item)<EOL><DEDENT>return self_uri<EOL>
self-uri tags