hi,
when sending a var to be writen down on a xml doc. (using php) how can i get it well with the linebreaks and tabs between each node?
like this:
<?xml version="1.0" encoding="iso-8859-1" ?>
<xml>
<setChar char="c" pos="0" />
<setChar char="o" pos="1" />
<setChar char="m" pos="2" />
</xml>
insted of this:
<?xml version="1.0" encoding="iso-8859-1" ?><xml><setChar char="c" pos="0" /><setChar char="o" pos="1" /><setChar char="m" pos="2" /></xml>
(…long time from my last post )