using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using DigitalPlatform.Script;
using dp2Circulation;
public class MyHost : MarcQueryHost
{
public override void Main()
{
MarcRoot record = new MarcRoot(this.MarcRecord);
record.ChildNodes.Add(new MarcField("200", " ",SUBFLD + "aAAAA"));
record.ChildNodes.Add(new MarcField("300", " ", SUBFLD + "bBBBB"));
MarcNodeList nodes = record.SelectNodes("200");
MessageBox.Show(this.MainForm, nodes.Count.ToString());
this.MarcRecord = record.Content;
this.Changed = true;
}
}