Orcus
Classes | Public Types | Public Member Functions | List of all members
orcus::xml_structure_tree Class Reference

#include <xml_structure_tree.hpp>

Classes

struct  element
 
struct  entity_name
 
class  walker
 

Public Types

typedef std::vector< entity_nameentity_names_type
 

Public Member Functions

 xml_structure_tree (xmlns_context &xmlns_cxt)
 
void parse (const char *p, size_t n)
 
void dump_compact (std::ostream &os) const
 
walker get_walker () const
 

Detailed Description

Tree representing the structure of elements in XML content. Recurring elements under the same parent are represented by a single element instance. This tree only includes elements; no attributes and content nodes appear in this tree.