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

12 lines
312 B
C++
Raw Normal View History

#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);
}