Re: [xml] Return type of the xpath query during the compilation of xpath



On Fri, May 30, 2008 at 10:05:07AM +0530, Umesh Chandak wrote:
Hi ,
       Is there any easy way to find out the last operation (function 
call, operator, location path) in xpath compilation ?
Because it can be easy to find out the return type from the last 
operation  being performed on xpath.

  At the API level, no because the structure of a compiled XPath
is not public. See xmlXPathCompExprPtr in xpath.h and struct _xmlXPathCompExpr
in xpath.c

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
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]