XML access and modification functions