OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] How to tidy/nice XML?


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: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis- 
> open.org
>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]