Re: [xml] Adding Line Break to XML file



On Fri, 2004-07-16 at 16:53 +0000, Tam Nguyen wrote:
Hi, 

Is there any function call that I can make that will add line breaks
in my XML file?  I'm using a style sheet to format and display my
XML file as an HTML file, without line breaks, the browser displays an
error.  

If you want to do it in code, have a look at the xmlDocDumpFormatMemory
function in the API documentation.

If you want to format the output via a shell script or the command line,
use 'xmllint --format ....'.

Cheers,
Malcolm





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]