pantry/projects/gnome.org/libxslt/test.c

13 lines
274 B
C
Raw Normal View History

#include <libxml/parser.h>
#include <libxslt/xslt.h>
#include <libxslt/xsltInternals.h>
int main() {
xmlDocPtr doc = xmlNewDoc(BAD_CAST "1.0");
xsltStylesheetPtr cur = NULL;
cur = xsltLoadStylesheetPI(doc);
xsltFreeStylesheet(cur);
xmlFreeDoc(doc);
return 0;
}