xmlDoc
's can be written to a file with xmlTreeSaveDoc()
, or
converted to text with xmlTreePrintDoc()
.
EXAMPLE<$ret = (xmlTreeSaveDoc($doc, 'output.xml'))>
<$output = (xmlTreePrintDoc($doc))>
output is $output
SEE ALSOxmlTreePrintDoc
,
xmlTreeSaveDoc