xmlNode made public to allow checking for equality