In this file there are elements that contain text nodes with CRLF (Windows style EOL) and ones containing LF (UNIX style EOL). I wish to preserve the CRLF line endings. However, the following little script shows that they get lost during reading/parsing: