libxml++  2.35.2
Public Member Functions
xmlpp::EntityReference Class Reference

Entity references refer to previously declared entities. More...

#include <libxml++/nodes/entityreference.h>

Inheritance diagram for xmlpp::EntityReference:
Inheritance graph
[legend]
Collaboration diagram for xmlpp::EntityReference:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 EntityReference (_xmlNode* node)
virtual ~EntityReference ()
Glib::ustring get_resolved_text () const
 Get the text with character references (like "&#xdf;") resolved.
Glib::ustring get_original_text () const
 Get the text as read from the XML or DTD file.

Detailed Description

Entity references refer to previously declared entities.

This will be instantiated by the parser.


Constructor & Destructor Documentation

xmlpp::EntityReference::EntityReference ( _xmlNode *  node) [explicit]

Member Function Documentation

Get the text as read from the XML or DTD file.

Returns:
The escaped text.

Get the text with character references (like "&#xdf;") 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).

Returns:
The text with character references unescaped.

The documentation for this class was generated from the following file: