private void LoadData() { if (webFile.State == StateType.Error) { Script.Literal("alert({0})", webFile.Message); } else if (webFile.State == StateType.Received) { XmlNode node = Util.SelectSingleNode(webFile.GetXml(), "Folder"); if (node == null) { XmlDocument doc = webFile.GetXml(); if (doc != null) { node = Util.SelectSingleNode(doc, "Folder"); } } if (node != null) { ClearChildren(); ParseXML(node); } if (onComplete != null) { onComplete(); } } }
private void GlyphXmlReady() { if (webFile.State == StateType.Error) { Script.Literal("alert({0})", webFile.Message); } else if (webFile.State == StateType.Received) { LoadXmlGlyph(webFile.GetXml()); } }
private void LoadXmlDocument() { if (webFile.State == StateType.Error) { Script.Literal("alert({0})", webFile.Message); } else if (webFile.State == StateType.Received) { FromXml(webFile.GetXml()); callMe(); } }
private void LoadData() { if (webFile.State == StateType.Error) { Script.Literal("alert({0})", webFile.Message); } else if (webFile.State == StateType.Received) { LoadFromXML(webFile.GetXml()); if (onComplete != null) { onComplete(); } } }