You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Phil Shafer edited this page Jul 9, 2013
·
3 revisions
How to Embed SLAX
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);
...
}