Got linked in!
What is your excuse now?
Which is the best DN site?
Citibank defines advanced browsers
Freeware for HTML editing on Windows
Using TidyCOM object to clean up HTML documents.
[link]
> 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.
No one has responded, does this mean that there is no solution for this problem.....
Any one can help???
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.