select xmlelement(name :my_variable) from dual
select sys_xmlgen(:tag_value, xmlformat(:tag_name)) from dual
<?xml version="1.0"?><custom_tag_name>tag value</custom_tag_name>