elementToFragment

Read the current element (and content) only into a fragment.

Receiver

The source stream.

Return

the fragment

Throws

parsing failed