public void OnStartElement(string name, SmallXmlParser.IAttrList attrs) { // opening tag, with attributes if (dictClosingTags < 2) //two clsoing tags means its left key frames { if (name == "dict") //check that a new dict tag has been opened { newDictTag = true; } if (name == "string" && newDictTag) //check that a new string tag has been opened AND its under a new dict tag. { readingFrames = true; dictClosingTags = 0; } } else//get teh sheet size { if (name == "string" && stringNumb == 0) //check that a new dict tag has been opened { stringNumb = 1; } else if (name == "string" && stringNumb == 1) { getSheetSize = true; } } }
public void OnStartParsing(SmallXmlParser parser) { idx = 0; }
public void OnEndParsing(SmallXmlParser parser) { }
public void OnStartParsing(SmallXmlParser parser) { }
public void OnStartParsing(SmallXmlParser parser) { // don't care }
public void OnEndParsing(SmallXmlParser parser) { // end of file //Debug.Log("OnEndParsing"); }
public void OnStartParsing(SmallXmlParser parser) { // start of file //Debug.Log("OnStartParsing"); }