@staticmethod<EOL><INDENT>def _tag(val, tag):<DEDENT>
if isinstance(val, str):<EOL><INDENT>val = bytes(val, '<STR_LIT:utf-8>')<EOL><DEDENT>return (bytes('<STR_LIT:<>' + tag + '<STR_LIT:>>', '<STR_LIT:utf-8>') + val +<EOL>bytes('<STR_LIT>' + tag + '<STR_LIT:>>', '<STR_LIT:utf-8>'))<EOL>
Surround val with <tag></tag>