/[dotgnu-pnet]/pnetlib/System.Xml/XmlNode.cs
ViewVC logotype

Diff of /pnetlib/System.Xml/XmlNode.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by t3rmin4t0r, Tue Feb 22 11:21:23 2005 UTC revision 1.21 by drobosson, Mon Mar 28 14:28:28 2005 UTC
# Line 1048  abstract class XmlNode : ICloneable, IEn Line 1048  abstract class XmlNode : ICloneable, IEn
1048                                          expr.SetContext(nsmgr);                                          expr.SetContext(nsmgr);
1049                                  }                                  }
1050                                  SelectNodeList list = new SelectNodeList(nav.Select(expr));                                  SelectNodeList list = new SelectNodeList(nav.Select(expr));
1051                                  return list[0];                                  return (list.Count == 0 ? null : list[0]);
1052                          }                          }
1053    
1054  #endif /* CONFIG_XPATH */  #endif /* CONFIG_XPATH */

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26