C# XPath id() not working?

Posted by Iggyhopper on Stack Overflow See other posts from Stack Overflow or by Iggyhopper
Published on 2010-03-18T09:08:25Z Indexed on 2010/03/18 9:11 UTC
Read the original article Hit count: 318

Filed under:

I'm using C# and I'm stumped. Does it just not support id()? I have a large XML file, about 4-5 of them at ~400kb, so I need some speed and performance wherever I can get it.

I use XmlDocument.SelectSingleNode("id('blahblahblah')") and it doesn't get the node by id. Am I going crazy or is it that C# XPath just doesn't support id()?

© Stack Overflow or respective owner

Related posts about c#