Make FPF callbacks able to return XML/HTML strings

For convenience and because it is impossible to provide multiple
sibling elements via a DOMElement