[xslt] How to get an xsltStylesheetPtr?



Hello,

Pardon the basic question, but I have to ask anyway...

What is the proper way to obtain an xsltStylesheetPtr starting from a
file?

In the tutorial mentioned on http://xmlsoft.org/XSLT/ , John Fleck shows
the most obvious approach:
    xsltStylesheetPtr xsl = xsltParseStylesheetFile("filename.xsl");

However, xsltParseStylesheetFile() is declared in xsltInternals.h, and
http://xmlsoft.org/XSLT/html/libxslt-xsltInternals.html clearly warns
that the functions in xsltInternals.h are not part of the API.

So what is one supposed to do instead?

Derek



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]