The Server Pages
:: TSP Menu
- Home
- Authors
- Glossary
- RSS Feed

:: Servers
- CPanel
- Hosting
- Linux
- Windows

:: Webmaster
- Databases
- Design
- PHP
- Search Engines

:: Scripts
- Scripts

:: Documentation
- PHP Manual

:: Other
- Errors & Solutions
- TechPunt
- Wojjie

search for in the

xptr_new_context> <xpath_register_ns
[edit] Last updated: Sat, 12 May 2012

view this page in

xptr_eval

(PHP 4)

xptr_eval Evaluate the XPtr Location Path in the given string

Description

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

Warning

This function is currently not documented; only its argument list is available.



add a note add a note User Contributed Notes xptr_eval
Jorrit Kronjee 19-Nov-2003 04: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!

 
show source | credits | sitemap | contact | advertising | mirror sites