sipxportlib  Version 3.3
ExtractContent.h
Go to the documentation of this file.
1 // Functions for extracting the text content of an XML element.
2 
3 #include "xmlparser/tinyxml.h"
4 #include "utl/UtlString.h"
5 
6 // Get the top-level text content of an XML element.
7 void textContentShallow(UtlString& string,
8  TiXmlElement *element);
9 
10 // Get the complete text content of an XML element (including sub-elements).
11 void textContentDeep(UtlString& string,
12  TiXmlElement *element);
13 
14 // Service function for textContentDeep.
16  TiXmlElement *element);
void textContentShallow(UtlString &string, TiXmlElement *element)
Definition: ExtractContent.cpp:5
Definition: UtlString.h:48
Definition: tinyxml.h:814
void textContentDeep(UtlString &string, TiXmlElement *element)
Definition: ExtractContent.cpp:24
void textContentDeepRecursive(UtlString &string, TiXmlElement *element)
Definition: ExtractContent.cpp:34