libxml++ 2.35.1
|
Entity references refer to previously declared entities. More...
#include <libxml++/nodes/entityreference.h>
Public Member Functions | |
EntityReference (_xmlNode* node) | |
virtual | ~EntityReference () |
Glib::ustring | get_resolved_text () const |
Get the text with character references (like "ß") resolved. | |
Glib::ustring | get_original_text () const |
Get the text as read from the XML or DTD file. |
Entity references refer to previously declared entities.
This will be instantiated by the parser.
xmlpp::EntityReference::EntityReference | ( | _xmlNode * | node | ) | [explicit] |
virtual xmlpp::EntityReference::~EntityReference | ( | ) | [virtual] |
Glib::ustring xmlpp::EntityReference::get_original_text | ( | ) | const |
Get the text as read from the XML or DTD file.
Glib::ustring xmlpp::EntityReference::get_resolved_text | ( | ) | const |
Get the text with character references (like "ß") resolved.
If the corresponding entity declaration does not contain any reference to another entity, this is the text that the reference would have resolved to if the XML document had been parsed with Parser::set_substitute_entities(true).