Convert a stream of text lines separated with newline sequences into an XML build result.