Commit Graph

7 Commits

Author SHA1 Message Date
Sterling Hughes
b3772c4f35 add the ability to serialize the contents back to a file 2003-05-19 13:33:01 +00:00
Sterling Hughes
44f6100ff0 basic support for modifying XML documents 2003-05-19 13:16:01 +00:00
Sterling Hughes
f408e9eefc add some macros that simplify the loops
remove a unnecessary copy
2003-05-19 12:44:24 +00:00
Sterling Hughes
26353e4e13 attribute support 2003-05-18 22:39:16 +00:00
Sterling Hughes
aec55ef95a properly detect blank nodes 2003-05-18 21:13:29 +00:00
Sterling Hughes
e3f351ddb0 make arrays of subnodes work (hacky)
drop property support for the moment, this will be re-added soonish
2003-05-18 20:53:21 +00:00
Sterling Hughes
94925b1c33 add very basic code for the simplexml extension. The following works ::
person.xml
--
<person>
 <name>
  <first>Sterling</first>
  <last>Hughes</last>
 </name>
</person>

person.php
--
<?php
$p = simplexml_load_file('person.xml');
echo $p->name->last . ', ' . $p->name->first;
?>

Still needs lots of work.
2003-05-18 20:33:26 +00:00