src/lib/DOMBuildingSAXContentHandler.h
branchv_0
changeset 5 15c3221e66af
parent 4 7230e1ea0b07
child 6 6a4a348426d9
equal deleted inserted replaced
4:7230e1ea0b07 5:15c3221e66af
    30 	xmlpp::Document* document;
    30 	xmlpp::Document* document;
    31 
    31 
    32 public:
    32 public:
    33 
    33 
    34 	DOMBuildingSAXContentHandler(xmlpp::Document* document) : document(document) {
    34 	DOMBuildingSAXContentHandler(xmlpp::Document* document) : document(document) {
       
    35 		document->create_root_node("DOMBuildingSAXContentHandler"); // FIXME: real implementation
    35 	}
    36 	}
    36 
    37 
    37 	void abc() override {
    38 	void abc() override {
       
    39 		document->get_root_node()->add_child("abc");
    38 	};
    40 	};
    39 
    41 
    40 	void def(int a) override {
    42 	void def(int a) override {
    41 	};
    43 	};
    42 
    44