KB_XmlParse.c
上传用户:fy98168
上传日期:2015-06-26
资源大小:13771k
文件大小:2k
- //-----------------------------------------------------------------------------
- // FILE NAME: ParseTest.c
- //
- // DESCRIPTION:
- //
- // DOCUMENT REF:
- //
- // NOTES:
- //----------------------------------------------------------------------------
- //
- //-----------------------------------------------------------------------------
- // Standard include files:
- //-----------------------------------------------------------------------------
- #include "Stdio.h"
- #include "String.h"
- //-----------------------------------------------------------------------------
- // Project include files:
- //-----------------------------------------------------------------------------
- #include "QXml.h"
- #include "XmlStbInfo.h"
- //-----------------------------------------------------------------------------
- // Types and defines:
- //-----------------------------------------------------------------------------
- //-----------------------------------------------------------------------------
- // Exported functions:
- //-----------------------------------------------------------------------------
- //-----------------------------------------------------------------------------
- // FUNCTION: printfFileData
- //
- // DESCRIPTION: 打印文件数据
- //
- // RETURN: None
- //
- // NOTES:
- //-----------------------------------------------------------------------------
- void KB_XmlParse(char *buf, int bufsize)
- {
- QXml xml = NewQXml();
- //ResetXmlStbInfo();
- QXmlParseBuff(&xml, buf);
- xml.Release(&xml);
- //PrintXMLMovieInfo();
- kb_xml_printServiceInfo();
- //PrintXMLWeatherInfo();
- //PrintXMLBulletinInfo();
- //PrintXMLVoteInfo();
- //kb_xml_printServiceInfo();
- }
- //EOF