On Fri, May 30, 2008 at 01:07:22PM +0530, Umesh Chandak wrote: > Hi Daniel, > > xmlXPathCompExprPtr->steps[xmlXPathCompExprPtr->last -1]->op . > last -1 because libxml always sort the results. > > will the above thing works for finding the last xpath operation.
i think so > Also will the approach of last operation to determine the return type > of query will work except for variables ? No, I don't think so. I explained the right approach previously. It's a standard, rather basic, CS compilation principle, so what's your problem with following it ? Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
