From: Sterling Hughes Date: Wed, 21 May 2003 14:06:00 +0000 (+0000) Subject: add an example of modifying the XML tree X-Git-Tag: RELEASE_1_0_2~661 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c418dd14b5852e89e7666a825bf3dd2a441d022b;p=php add an example of modifying the XML tree --- diff --git a/ext/simplexml/examples/security.php b/ext/simplexml/examples/security.php new file mode 100644 index 0000000000..ef5f20cb9a --- /dev/null +++ b/ext/simplexml/examples/security.php @@ -0,0 +1,6 @@ +id; +$s->id = 20; +simplexml_save_file($s, 'security.new.xml'); +?> diff --git a/ext/simplexml/examples/security.xml b/ext/simplexml/examples/security.xml new file mode 100644 index 0000000000..d954a02335 --- /dev/null +++ b/ext/simplexml/examples/security.xml @@ -0,0 +1,4 @@ + + + 15 +