How to get Document Or Element (XML DOM) from Resource or EObject How to get Document or Element (XML DOM) from Resource or EObject?