in reply to Problem in parsing XML file with spaces or slashes in a tag

Your XML is bad, as you've been told. So how about we explore alternative schemas.
<BLOCK> <RECORD> <FIELD id="Containing a space">Value1</FIELD> <FIELD id="/Containing a slash/">Value2</FIELD> </RECORD> </BLOCK>