diff options
Diffstat (limited to 'cutl/xml/parser.ixx')
-rw-r--r-- | cutl/xml/parser.ixx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cutl/xml/parser.ixx b/cutl/xml/parser.ixx index 2bedae4..65834b6 100644 --- a/cutl/xml/parser.ixx +++ b/cutl/xml/parser.ixx @@ -47,6 +47,18 @@ namespace cutl return attribute_present (qname_type (n)); } + inline const parser::attribute_map_type& parser:: + attribute_map () const + { + if (const element_entry* e = get_element ()) + { + e->attr_unhandled_ = 0; // Assume all handled. + return e->attr_map_; + } + + return empty_attr_map_; + } + inline void parser:: next_expect (event_type e, const qname_type& qn) { |