[webkit-dev] Working XPath example via GDOM-Binding

Leon Winter lwi at ring0.de
Wed Jun 10 09:21:09 PDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
>>  >  so if you delete the .lo then the build process happily recreates
the .o
>
>>  Actually it was "rm DerivedSources/JS*.lo". Thanks for all your help
>>  so far.
>
>  yaay.
>
>>  Here is a working XPath sample:
>
>  yaay!
>
>
>>     res = gdom_document_evaluate(doc, exp, body, resolver, 0, NULL);
>
>>  Next thing interesting thing would be knowing how to set fifth arg for
>>  gdom_document_evaluate which is an enum that controls the output
>>  order. As far as I know the enum is not exported via binding so at the
>>  moment we have to set this value by hand.
>
>  ahh, yerrs... hmmm... that will require adding more code to #16401,
> which will result in yet more objections as the size of the patch will
> increase.  well, tough: it should have been landed months ago.
>
>  i'll look at a way to find and create some enums.
>
>  l.
Just for the record, the values can be found here:
http://developer.apple.com/safari/library/documentation/AppleApplications/Reference/WebKitDOMRef/XPathResult_idl/Classes/XPathResult/index.html#//apple_ref/js/clconst/XPathResult/ORDERED_NODE_ITERATOR_TYPE

Regards,
Leon Winter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkov3XUACgkQ3qn9m9SfDYfTEQCgy7tcSbUKNhJ1q3sWc+2iGCqU
0PIAoLlQga41fFqkIz2fINL+fkvB+p31
=mVIY
-----END PGP SIGNATURE-----



More information about the webkit-dev mailing list