'Requires:
my_string --string to parse
type --type of string
Returns:
A string formated for a field instruction.
Logic:
The type is the name (either bookmark-end or bookmark-start). The
id is the complete text string.'

def __parse_bookmark_func(self, my_string, type):

    my_changed_string = ('mi<tg<empty-att_<field<type>%s<number>%s<update>none\n' % (type, my_string))
    return my_changed_string
