Constructing XML templates

The plug operation:

The values being plugged in are XML templates or strings (or arrays of these)