W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2007

XML output without pretty-printing

From: AAS Contractor <AAS.Contractor@iop.org>
Date: Mon, 16 Jul 2007 15:10:40 +0100
To: html-tidy@w3.org
Message-ID: <OFC86F8666.992C77E6-ON8025731A.004D47E3-8025731A.004DE288@iop.org>

Is it possible to specify that the output of Tidy should be XML but 
without any pretty printing?

Simply setting xml-output: yes and markup: no results in no output being 
written at all. (Is this a known "feature"?)

But allowing the pretty-printing (setting markup: yes) is introducing 
unwanted spaces in the output. I am after something like the default html 
output (ie with output-xml: no output-xhtml: no and markup: no) but can't 
find any way to achieve this?

Anybody else come across this problem?

regards,

Bruce Hunter

************************************************************************
This email (and attachments) are confidential and intended for the addressee(s) only. If you are not the intended recipient please notify the sender, delete any copies and do not take action in reliance on it. Any views expressed are the author's and do not represent those of IOP, except where specifically stated. IOP takes reasonable precautions to protect against viruses but accepts no responsibility for loss or damage arising from virus infection. For the protection of IOP's systems and staff emails are scanned automatically.

IOP Publishing Limited Registered in England under Registration No 467514. Registered Office: Dirac House, Temple Back, Bristol BS1 6BE England
Vat No GB 461 6000 84.
Received on Tuesday, 17 July 2007 18:14:35 GMT

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