From 594f6433af44e7d223e30b247c8f995ef90a558e Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Sat, 17 Jan 2004 21:44:22 +0000 Subject: update the examples --- ext/simplexml/examples/xpath.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/simplexml/examples/xpath.php') diff --git a/ext/simplexml/examples/xpath.php b/ext/simplexml/examples/xpath.php index 23253d7b74..8fcd9878ab 100644 --- a/ext/simplexml/examples/xpath.php +++ b/ext/simplexml/examples/xpath.php @@ -1,7 +1,7 @@ xsearch("/books/book/title"); +$xpath_result = $books->xpath("/books/book/title"); foreach($xpath_result as $entry ) { print "$entry \n"; } -- cgit v1.2.1