471,348 Members | 1,336 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 software developers and data experts.

Missing namespace brackets.

Put your namespace inside of curly brackets.

string ns = "{" + xd.Root.Name.NamespaceName + "}";

IEnumerable<XElementd = xd.Descendants(ns + "People").Descendants();
Jun 27 '08 #1
0 813

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by kalpana.sinduria | last post: by
12 posts views Thread by Calum Grant | last post: by
reply views Thread by Alberto Grosso Nicolin | last post: by
reply views Thread by Jigar.Patel | last post: by
3 posts views Thread by Laurent Bugnion [MVP] | last post: by
2 posts views Thread by cj | last post: by
1 post views Thread by Ronak mishra | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.