xml-copy-editor-code/src/catalogresolver.cpp

12 lines
301 B
C++
Executable File

#include <memory>
#include "wraplibxml.h"
#include "catalogresolver.h"
std::string CatalogResolver::lookupPublicId(
const std::string& publicId,
const std::string& catalogPath)
{
std::auto_ptr<WrapLibxml> libxml(new WrapLibxml(false, catalogPath));
return libxml->lookupPublicId(publicId);
}