Use \Podlove\DomDocumentFragment