On Jul 15, 2008, at 2:18 PM, William R. (Bill) Greene wrote:


On 2008-07-15 , at 10:25:27, Euis Luhuanam wrote:

What tools are available to tidy the XML document?
I am considering to use ''tidy''; but could not find
examples in the manual.

You can use tidy like this:

tidy -xml -i -m filename

to check the file, and indent the xml.

the -m causes the file to be modified in place, so you might want to start with:

tidy -xml -i filename

to check for errors and output to stdout


Look for "indentation transform" in http://www.dpawson.co.uk/xsl/ sect2/N2126.html. ______________________________________________________________________ __

Bill Greene
http://bill2u.wordpress.com/





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] open.org



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to