/// <summary> /// Emulates the behavior of a SAX parser, it realizes the callback events of the parser. /// </summary> /// <param name="xmlContent"> </param> /// <param name="decodeAttributeValues"> indicates that xml attribute values are encode and should be decoded while parsing </param> public void parse(byte[] xmlContent, bool decodeAttributeValues) { MgSAXParser mgSAXParser = new MgSAXParser(this); mgSAXParser.parse(xmlContent, decodeAttributeValues); }
/// <summary> /// Emulates the behavior of a SAX parser, it realizes the callback events of the parser. /// Assumes that the attribute values are not encoded /// </summary> public void parse(byte[] xmlContent) { MgSAXParser mgSAXParser = new MgSAXParser(this); mgSAXParser.parse(xmlContent, false); }