XMLReader

Haven't tested this throughly
Added attributes to XMLReader