/usr/include/libxml++-2.6/libxml++/nodes/entityreference.h is in libxml++2.6-dev 2.40.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | /* entityreference.h
* libxml++ and this file are copyright (C) 2000 by Ari Johnson, and
* are covered by the GNU Lesser General Public License, which should be
* included with libxml++ as the file COPYING.
*/
#ifndef __LIBXMLPP_NODES_ENTITYREFERENCE_H
#define __LIBXMLPP_NODES_ENTITYREFERENCE_H
#include <libxml++/nodes/node.h>
namespace xmlpp
{
/** Entity references refer to previously declared entities. This will be instantiated by the parser.
*/
class EntityReference : public Node
{
public:
explicit EntityReference(_xmlNode* node);
~EntityReference() override;
/** 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).
* @returns The text with character references unescaped.
*/
Glib::ustring get_resolved_text() const;
/** Get the text as read from the XML or DTD file.
* @returns The escaped text.
*/
Glib::ustring get_original_text() const;
};
} // namespace xmlpp
#endif //__LIBXMLPP_NODES_TEXTNODE_H
|