Related Entries

Do not use GET for form processing!
Google Visualizations quick start
SCM backed blogging - part II
SCM backed Blogging
Got linked in!

« Beware! You are being logged :-)
» Minor design change

Using TidyCOM

Using TidyCOM object to clean up HTML documents. [link]...

Using TidyCOM object to clean up HTML documents.

  1. > Tidy seems to be adding a return between empty elements. Is there any way
    > to prevent this?
    > XML file I'm sending into tidy (b.xml):
    > Using the following command line:
    > tidy.exe -config tidy.ini b.xml
    > and the following tidy.ini:
    > output-xml: yes
    > input-xml: yes
    > indent: yes
    > indent-cdata: no
    > wrap: 0
    > escape-cdata: yes
    > markup: yes
    > clean: yes
    > I get the following output:
    > Note the return that is put in the 2nd empty node.
    > I'm using tidy release: "(release date: 1st May 2002; built on May 7
    > 2002, at 20:00:42)"
    > I've tried a number of options but I cannot get tidy to produces something
    > more like this:
    > I really don't care about the empty space between nodes, but the return
    > that gets put in the 2nd empty node is causing me problems. Is there
    > anything I can do to fix this problem?
    > Thanks.

    Posted by: Joseph Ghobreal on May 19, 2003 02:03 AM
  2. No one has responded, does this mean that there is no solution for this problem.....

    Any one can help???

    Posted by: Joseph Ghobreal on June 6, 2003 01:54 AM
  3. Ehhh, I ran into the same problem....

    Seems to fix itself by setting the TidyObj.Options.Wrap = nnnn to a 0 value or extremely high value...

    Hope it helps.

    Posted by: Marvin Smit on February 2, 2004 07:38 AM