From 2615896faa646e5830abf2c269150e1165c66515 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 18 Dec 2020 18:48:46 +0300 Subject: Switch to build2 --- libxsd/libxsd/cxx/xml/dom/wildcard-source.txx | 36 +++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 libxsd/libxsd/cxx/xml/dom/wildcard-source.txx (limited to 'libxsd/libxsd/cxx/xml/dom/wildcard-source.txx') diff --git a/libxsd/libxsd/cxx/xml/dom/wildcard-source.txx b/libxsd/libxsd/cxx/xml/dom/wildcard-source.txx new file mode 100644 index 0000000..a064003 --- /dev/null +++ b/libxsd/libxsd/cxx/xml/dom/wildcard-source.txx @@ -0,0 +1,36 @@ +// file : libxsd/cxx/xml/dom/wildcard-source.txx +// license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +#include // chLatin_L, etc + +#include +#include + +namespace xsd +{ + namespace cxx + { + namespace xml + { + namespace dom + { + template + XSD_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 XSD_DOM_AUTO_PTR ( + impl->createDocument ()); + } + } + } + } +} -- cgit v1.1