#include <loggingXMLParser.h>
List of all members.
Static Public Member Functions |
static XMLElement * | parseString (const ACE_TCHAR *xml, bool skipValueParsing=false) |
static int | parseElementType (const ACE_TCHAR *xml, ACE_CString &elementType) |
Detailed Description
Simple non-validating XML parser This XML parser is used to parse attributes and a value of <Archive ...>value</Archive> It does not support parsing of sub-elements (only one level). (This is due to lack of time of the programmer, give me 2h and ...)
- Author:
- Matej Sekoranja, Jozef Stefan Institute, Slovenia
- Version:
- "@(#) $Id: loggingXMLParser.h,v 1.35 2006/09/01 02:20:55 cparedes Exp $"
Member Function Documentation
static int loggingXMLParser::XMLParser::parseElementType |
( |
const ACE_TCHAR * |
xml, |
|
|
ACE_CString & |
elementType | |
|
) |
| | [static] |
Parse XML element type
- Parameters:
-
| xml | XML formatted string |
| entryType | redtuned element typed if found |
- Returns:
- 0 on success
static XMLElement* loggingXMLParser::XMLParser::parseString |
( |
const ACE_TCHAR * |
xml, |
|
|
bool |
skipValueParsing = false | |
|
) |
| | [static] |
Parse XML string
- Parameters:
-
| xml | XML formatted string |
| skipValueParsing | if true, only element name and its attributes will be parsed |
- Returns:
- pointer to XMLEntry, 0 if failed to parse given string
The documentation for this class was generated from the following file: