Geeks With Blogs

News INETA Community Speakers Program
GeeksWithBlogs.net: WTFNext's hosting!

View Stacy Vicknair's profile on LinkedIn


WTF Next? Dev ramblings from a master of nothing. March 2011 Entries
.NET XPath Returns No Results
When using XPath in .NET one of the gotchas to be aware of is that all namespaces must be named, otherwise you’ll end up with no results. Default namespaces that are specified with xmlns alone still need to be recognized in the XPath query! Say I had a bit of XML like what is returned from the QueryService web service in Sharepoint: 1: <?xml version="1.0" encoding="UTF-8"?> 2: <ResponsePacket xmlns="urn:Microsoft.Search... 3: <Response> 4: <Range> 5: ... 6: <Results> ......

Posted On Thursday, March 10, 2011 2:57 PM

Copyright © Stacy Vicknair | Powered by: GeeksWithBlogs.net