In Oracle, you can use the XMLElement() function to create an element, as in:
XMLElement('name', 'John')
But how to create an element in a specific namespace? For instance, how to create the following element:
<my:name xmlns:my="http://www.example.com/my">John</my:name>