DOM XML (PHP 4) 函数
在线手册:中文 英文
PHP手册

xptr_eval

(PHP 4)

xptr_eval Evaluate the XPtr Location Path in the given string

说明

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

Warning

本函数还未编写文档,仅有参数列表。


DOM XML (PHP 4) 函数
在线手册:中文 英文
PHP手册
PHP手册 - N: Evaluate the XPtr Location Path in the given string

用户评论:

Jorrit Kronjee (19-Nov-2003 06: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!