Changed access to xmlRead method