Re: [xslt] How to get an xsltStylesheetPtr?
- From: Daniel Veillard <veillard redhat com>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] How to get an xsltStylesheetPtr?
- Date: Fri, 6 May 2005 11:44:17 -0400
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 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?
Hum, I should probably change that comment. That's the proper API to use.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]