- OO example

This commit is contained in:
Pierre Joye 2005-06-23 11:29:26 +00:00
parent 58cb6bb07f
commit 5443879053

View File

@ -0,0 +1,9 @@
<?php
$xw = new XMLWriter();
$xw->openUri('test.xml');
$xw->startDocument("1.0");
$xw->startElement("book");
$xw->text("example");
$xw->endElement();
$xw->endDocument();
$xw->flush(0);