Added conversion from yaidom Document to incontext Document