CASC-196

real XML parsing example if using <cas:attributes>.  Updated tests to make sure it works if there are line breaks.