Re: [xml-bindings]Parameter passing convention in extension functions ...



On Wed, Aug 21, 2002 at 07:44:38PM +0200, rm fabula de wrote:
> On Wed, Aug 21, 2002 at 01:04:44PM -0400, Daniel Veillard wrote:
> > Patch commited in CVS, and enclosed, could you check it fixed it ?
> > 
> 
> Ok, i just checked out the code from CVS and compile it. I'll post the results.

  okay, except the anonymous CVS is probably 1 day late, you may need to apply
the patch anyway.

> > 
> > > As another question: when i call <xsl:value-of select='foo:bar(.)' />
> > > what is the type of the parameter. A call print in python emits
> > > '[<PyCObject object at 0x8189770>]' which doesn't seem to help a lot.
> > > Is there any way to work on/with such a parameter from within python?
> > 
> >   That's a problem that Norm Walsh faced too and I didn't managed to
> > find the problem in a 15mn debugging session, seems I really need to focuse
> > on this one, could you bugzilla it ?
> 
> Well, what is _supposed_ to come in?

  The mapping of an XPath nodeset, i.e. a python array of
xmlNode instances (Python ones).

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.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]