// file : tests/cxx/tree/dom-association/dom-parse.hxx // license : GNU GPL v2 + exceptions; see accompanying LICENSE file #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_DOM_AUTO_PTR parse (std::istream& is, const std::string& id, bool validate); #endif // DOM_PARSE