Re: [xslt] How to get an xsltStylesheetPtr?

On Fri, May 06, 2005 at 03:39:14PM +0200, Derek Poon wrote:
> 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 , John Fleck shows
> the most obvious approach:
>     xsltStylesheetPtr xsl = xsltParseStylesheetFile("filename.xsl");
> However, xsltParseStylesheetFile() is declared in xsltInternals.h, and
> clearly warns
> that the functions in xsltInternals.h are not part of the API.
> So what is one supposed to do instead?

  Hum, I should probably change that comment. That's the proper API to use.


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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