I am trying the following:
[[System.Xml.XmlNamespaceManager] $nsm = $meta.NameTable$nsm.AddNamespace($null, "http://schemas.microsoft.com/ado/2009/11/edm")
$nsm.AddNamespace("edmx", "http://schemas.microsoft.com/ado/2007/06/edmx")
$nsm.AddNamespace("m", "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata")
$meta.DocumentElement.SelectNodes("//edmx:DataServices/Schema[@Namespace='Default']/EntityContainer/FunctionImport", $nsm)
But this doesn't return an nodes. Even when I shorten the XPath expression to just '//edmx:DataServices' I still don't get anything.
Thank you.
Kevin
Kevin Burton