From 1d3d9dfb7b11da8e398f6f9c638291a0539f7bf0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 27 Mar 2013 08:00:25 +0200 Subject: Add attribute_present() function to XML parser --- cutl/xml/parser.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cutl/xml/parser.hxx') diff --git a/cutl/xml/parser.hxx b/cutl/xml/parser.hxx index 8aed55f..7806041 100644 --- a/cutl/xml/parser.hxx +++ b/cutl/xml/parser.hxx @@ -249,6 +249,12 @@ namespace cutl T attribute (const qname_type& qname, const T& dv) const; + bool + attribute_present (const std::string& name) const; + + bool + attribute_present (const qname_type& qname) const; + // Optional content processing. // public: -- cgit v1.1