If you only want to write a constant at the current path in the XML document, you can use a Fixed Value Tool. Execution of this Tool is faster than the Assignment.
Elementname
The name of the Element to write.
Value
The value to write at the current position in the XML Document.