CSharp examples for System.Xml:XML Node
Find XML Node
/*/* ww w . java 2 s .c o m*/ * Copyright (c) 2005 Poderosa Project, All Rights Reserved. * $Id: XMLUtil.cs,v 1.2 2005/04/20 08:45:48 okajima Exp $ */ using System.Text; using System.Xml; using System.Collections; using System; public class Main{ public static bool FindNode(XmlReader reader, XmlNodeType type) { do { if(reader.NodeType==type) return true; } while(reader.Read()); return false; } }