// file : xsd/cxx/xml/dom/wildcard-source.txx // author : Boris Kolpackov // copyright : Copyright (c) 2005-2009 Code Synthesis Tools CC // license : GNU GPL v2 + exceptions; see accompanying LICENSE file #include // chLatin_L, etc #include #include namespace xsd { namespace cxx { namespace xml { namespace dom { template xml::dom::auto_ptr create_document () { const XMLCh ls[] = {xercesc::chLatin_L, xercesc::chLatin_S, xercesc::chNull}; // Get an implementation of the Load-Store (LS) interface. // xercesc::DOMImplementation* impl ( xercesc::DOMImplementationRegistry::getDOMImplementation (ls)); return xml::dom::auto_ptr ( impl->createDocument ()); } } } } }