function index() {
			return Array.prototype.filter.call(oElement.parentNode.childNodes, function (oNode) {
					return oNode.nodeType === 1;
				}).indexOf(oElement);
		}
Parses the given XML-document using the given ODataMetadata-object and returns a native JavaScript-object
representation of it.

@param {sap.ui.model.odata.ODataMetadata} oMetadata The metadata to be used for interpreting the annotation document
@param {document} oXMLDoc The annotation document
@param {string} [sSourceUrl="metadata document"] The source URL
@returns {object} The parsed annotation object
@static
@private