Lines Matching defs:xml_element
26 struct xml_element : tree_node<xml_element> struct
28 enum element_type
33 } type_;
34 std::string name_;
37 std::list<std::pair<std::string, std::string> > attributes_;
40 std::string contents_;
42 explicit xml_element(element_type n) : type_(n) {} in xml_element() function
44 explicit xml_element(element_type n, quickbook::string_view name) in xml_element() argument
49 static xml_element* text_node(quickbook::string_view x) in text_node()
56 static xml_element* html_node(quickbook::string_view x) in html_node()
63 static xml_element* node(quickbook::string_view x) in node()
68 bool has_attribute(quickbook::string_view name) in has_attribute()
79 string_view get_attribute(quickbook::string_view name) in get_attribute()
90 string_view set_attribute( in set_attribute()
106 xml_element* get_child(quickbook::string_view name) in get_child()