public void LoadFromXml(XmlReader reader) { reader.ReadToDescendant("plist"); while (reader.Read()) { if (reader.NodeType != XmlNodeType.Element) continue; //Console.WriteLine(reader.LocalName); //Console.WriteLine(reader.ToString()); if (!reader.EOF) root = LoadFromNode(reader); } }
public PlistDocument(PlistObjectBase root) { this.root = root; }