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

Re: Ways to alter document.

From: Philip Riebold <philip@livenet.ac.uk>
Date: Fri, 22 Jul 2005 12:56:56 +0100 (BST)
To: Dragos CIULICA <dragos@ciulica.ro>
Cc: html-tidy@w3.org
Message-Id: <Pine.SUN.3.90.1050722125311.22635H-100000@livenet.ac.uk>

> Date: Fri, 22 Jul 2005 02:15:12 +0300
> From: Dragos CIULICA <dragos@ciulica.ro>
> To: html-tidy@w3.org
> Subject: Ways to alter document.
> 
> hi! Are there some ways to alter existing document? The equivalent of
> tidyGetAttribute for set?
>  
> Thanks,
> Dragos CIULICA.

I'm not really sure what you want but you could try the -m flag eg.

	tidy -m index.html

Always make sure you have a recent backup since tidy could delete 
sections of the file you hadn't meant to be removed.


TTFN,

   Philip Riebold                            /"\
   Media Resources                           \ /
   University College London                  X  ASCII Ribbon Campaign
   Windeyer Building, 46 Cleveland Street    / \ Against HTML Mail
   London, W1T 4JF
   +44 (0)20 7580 9872 (direct)
   +44 (0)20 7679 9259 (switchboard), 09259 (internal)
   http://www.ucl.ac.uk/mediares/vconf

A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Received on Friday, 22 July 2005 14:38:19 GMT

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