CSharp examples for System.Xml:XML Reader
Create Default XML Reader
/*/* w w w.j a v a 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 XmlReader CreateDefaultReader(string filename) { XmlTextReader re = new XmlTextReader(filename); re.WhitespaceHandling = WhitespaceHandling.Significant; return re; } }