aboutsummaryrefslogtreecommitdiff
path: root/cutl/xml/parser.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'cutl/xml/parser.ixx')
-rw-r--r--cutl/xml/parser.ixx6
1 files changed, 6 insertions, 0 deletions
diff --git a/cutl/xml/parser.ixx b/cutl/xml/parser.ixx
index fa5a7b6..2bedae4 100644
--- a/cutl/xml/parser.ixx
+++ b/cutl/xml/parser.ixx
@@ -41,6 +41,12 @@ namespace cutl
return value_traits<T>::parse (attribute (qn), *this);
}
+ inline bool parser::
+ attribute_present (const std::string& n) const
+ {
+ return attribute_present (qname_type (n));
+ }
+
inline void parser::
next_expect (event_type e, const qname_type& qn)
{