Re: [xslt] DocLoader API Feedback
- From: Daniel Veillard <veillard redhat com>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] DocLoader API Feedback
- Date: Thu, 19 Aug 2004 02:33:11 -0400
On Wed, Aug 18, 2004 at 03:56:50PM -0700, David Hyatt wrote:
> Just in case our URL canonicalization schemes don't match up, could you
> make the void* ctxt argument to the docloader function be the
> import/include xmlNodePtr rather than the xsltStylesheetPtr? This
> makes more sense to me conceptually anyway. That way I can just do a
> quick and easy pointer comparison to match up to the right xmlDocPtr.
You should get the document as style->doc, but if I pass that directly
you loose parent and more importantly the _private field, which may be
used for a variety of things including specific error reporting/warnings.
It seems to me that doing the change you propose won't make your work
really easier but will make a lot of thing impossible,
If style->doc doesn't work, then let's fix it, but I really prefer to
return a generic pointer in the API,
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]