예제 #1
0
        protected override void LoadDocument(string filename)
        {
            var xmlDocument = new XmlDocument();

            xmlDocument.Load(filename);

            _queries = new QueryCollection(this);

            foreach (XmlNode node in xmlDocument.SelectNodes(@"xinq/queries/query"))
            {
                var query = new Query(this, node);
                _queries.Add(query);
            }
        }
예제 #2
0
 public XinqDocument()
 {
     _queries = new QueryCollection(this);
 }