RE: Tidy adding returns inside xml elements

Thanks for your respond

Yes exactly,
I get 
  <foo>
    <baz>
    </baz>
  </foo>
but I want 
  <foo>
    <baz></baz>
  </foo>
with no space or carriage return between the two empty tags


By the way, I also use tidy as an object in my DELPHI project, the tidy function
is called within my Delphi Application.

Joseph



-----Original Message-----
From: Bjoern Hoehrmann 
Sent: Tuesday, 20 May 2003 04:07 AM
To: JOSEPH GHOBREAL
Cc: html-tidy@w3.org
Subject: Re: Tidy adding returns inside xml elements


* JOSEPH GHOBREAL wrote:
>I was searching the net for a solution for the problem mentioned above,
>can you send me the patch to fix this problem.

So you have

  <foo><bar/><baz></baz></foo>

and want

  <foo><bar/><baz></baz></foo>

but Tidy gives

  <foo>
    <bar />
  
    <baz>
    </baz>
  </foo>

and that's a problem?

Received on Monday, 19 May 2003 19:38:06 UTC