xptr_eval

(PHP 4 >= 4.0.4, PECL)

xptr_eval --  Evaluate the XPtr Location Path in the given string

Описание

class XPathContext {

int xptr_eval ( string eval_str [, domnode contextnode] )

}int xptr_eval ( XPathContext xpath_context, string eval_str [, domnode contextnode] )

Внимание

К настоящему времени эта функция еще не была документирована; для ознакомления доступен только список аргументов.



xptr_eval
Jorrit Kronjee
19-Nov-2003 10:48
Actually xptr_eval works exactly the same as xpath_eval and doesn't return an integer as suggested. I haven't tried anything with it and PHP (4.3.0 for me now) doesn't seem to be any help either. Even simple examples (from http://www.zvon.org/xxl/XPointerTutorial/Output/index.html) don't work, just because half of XPointer is not implemented. XPointer expressions like /1/1 do work.

Let's face it, this is all experimental, folks!

<xpath_register_nsxptr_new_context>
 Last updated: Mon, 14 Nov 2005