XElement(IMetadata, string, Func<string, XElement>) Method