// file : examples/cxx/tree/multiroot/dom-parse.hxx // copyright : not copyrighted - public domain #ifndef DOM_PARSE #define DOM_PARSE #include #include #include #include // Parse an XML document from the standard input stream with an // optional resource id. Resource id is used in diagnostics as // well as to locate schemas referenced from inside the document. // xsd::cxx::xml::dom::auto_ptr parse (std::istream& is, const std::string& id, bool validate); #endif // DOM_PARSE