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

12 lines
301 B
C++
Raw Normal View History

2007-09-07 23:17:30 +02:00
#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);
}