#include <XMLParseTools.h>
Static Public Member Functions | |
| static const char * | FindTag (const char *tag, const char *string, bool closing_tag=false) |
| static bool | ReadAttribute (const char *&string, String &name, String &value) |
| static Element * | ParseTemplate (Element *element, const String &template_name) |
| const char * Rocket::Core::XMLParseTools::FindTag | ( | const char * | tag, | |
| const char * | string, | |||
| bool | closing_tag = false | |||
| ) | [static] |
Searchs a string for the specified tag
| tag | Tag to find, *must* be in lower case | |
| string | String to search | |
| closing_tag | Is it the closing tag we're looking for? |
| bool Rocket::Core::XMLParseTools::ReadAttribute | ( | const char *& | string, | |
| String & | name, | |||
| String & | value | |||
| ) | [static] |
Reads the next attribute from the string, advancing the pointer
| [in,out] | string | String to read the attribute from, pointer will be advanced passed the read |
| [out] | name | Name of the attribute read |
| [out] | value | Value of the attribute read |