Serializing of Documents?

Why is there no $DomDocument->__serialize()?
  • libxml2 is tweaked to the max for parsing data
  • Serializing a binary form wouldn't improve speed
Use (It's fast enough):
  • $DomDocument->save("tofile.xml")
  • $DomDocument->load("tofile.xml");
 
XSLT in PHP 5 © copyright 2004  Bitflux GmbH