-
Notifications
You must be signed in to change notification settings - Fork 20
Embedding
Phil Shafer edited this page Jul 9, 2013
·
3 revisions
SLAX is integrated with the XSLT engine in libxslt, using the
xsltSetLoaderFunc()
function in libxslt to define an alternative
loader. At present, this loader is only triggered if the file has
the ".slax" extension, but auto-detection may be added in the future.
To support SLAX within an application, link with libslax and call the libslax initializer function:
#include <libslax/slax.h>
int
main (int argc, char **argv)
{
...
slaxEnable(1);
...
}