self-contained API package

I want to implement one API layer which contains some business logic related API methods. The platform is linux and the programming language is C++.

This API layer will use some utilitiy libraries, e.g. XML parser - xerces-c. However, I want to make these underlying libraries transparent to the API client.

That means this API package should be self-contained. In other word, the API package only need to provide ONE header file, ONE library file and ONE namespace. Client does not need to include other header files and link other library files.

How can I achieve that? Any tips and implications? Any articles and examples?

You would have to link in XML parser and anything else you want to include.
That means you need archives ( .a files) for any external library you want to include. Except the c++ run time.