Added support for use of uris (as ref to nodes or external) in
attributes. Fixed bug in deletion of textContent