W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2010

Question about Tidy XML output end-tag format

From: Michael Hjembæk <MCK@topdanmark.dk>
Date: Fri, 15 Oct 2010 14:41:20 +0200
To: html-tidy@w3.org
Message-ID: <OF9FA54AF4.263CFC45-ONC12577BD.0044E102-C12577BD.0045B8C4@topdanmark.dk>
Hi

Is it possible to specify the output formatting of the end (closing) tags
for an XML document?

Example:

Input
<server name="test"></server>

Output
<server name="test" />

Or

Input
<server name="test" />

Output
<server name="test"></server>


I am using this version:

HTML Tidy for Windows released on 25 March 2009

Windows 7 OS version:

Microsoft Windows [version 6.1.7600]

Kind regards,

Michael Hjembaek
Received on Friday, 15 October 2010 14:25:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:14:00 GMT