XPathNodeIterators in .NET

Unfortunately to my surprise, System.Xml.XPath.XPathNodeIterator in .NET doesn’t inherit from a standard System.Xml.XmlElement, so the Nodes they iterate over cannot be converted to an XmlNode for use with my common Xml code. How sucky, they actually re-implemented the Node object from scratch, obviously to make it more lightweight. (why they couldn’t have used a lightweight object as the base Element in the first place is beyond me)

Advertisements
  1. #1 by Delusional King on May 5, 2005 - 11:29 am

    lol you lost me after 3 words he he glad to see someone knows what they are doing cause i sure dont

  2. #2 by Hakan on May 12, 2005 - 4:16 pm

    Good to see you blogging mate…Good job….

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: