From 8a6e4cf345cf370ed8b5872578997e39a218c6f0 Mon Sep 17 00:00:00 2001 From: Rowan Collins Date: Sun, 14 Oct 2012 01:25:14 +0100 Subject: [PATCH] Mention simplexml_tree() in README --- README.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 33293ef..7afdeff 100644 --- a/README.markdown +++ b/README.markdown @@ -12,7 +12,8 @@ So the obvious question is: What do I use instead when I want to inspect my Simp What? ===== -The first piece of this project (more may be to come) is a simple function - `simplexml_dump()` - which echoes a basic summary of any `SimpleXMLElement` object you give it. +* The first piece of this project is a simple function - `simplexml_dump()` - which echoes a basic summary of any `SimpleXMLElement` object you give it. +* Early feedback from users on StackOverflow was that a fully recursive function would be useful, although this would obviously need to do something different from an XML pretty-printer. The next function is therefore `simplexml_tree()` which shows an entire XML structure in summarised tree form. The output is designed to show exactly what operators and methods are needed to access each node shown. Features --------