Hi Mickey, When I use --input-xml yes, I get the output identical to the input for your example. What version of Tidy and what options are you using? take it easy, Charlie At 07:20 PM 2/19/2003 -0500, Mickey and Amy Glasgow wrote: >For example, the following input: > ><HomeAddress> > <AddressLine1>13 Mockingbird Ln</AddressLine1> > <AddressLine2></AddressLine2> ></HomeAddress> > >...in which AddressLine2 is an empty element becomes: > ><HomeAddress> > <AddressLine1>13 Mockingbird Ln</AddressLine1> > > <AddressLine2> > </AddressLine2> ></HomeAddress> > >...in which the element value for the AddressLine2 tag now contains a >newline character and two spaces. > >An XML processor will treat these two values differently!!! > >I don't really like the blank line between the two inner elements, but at >least it doesn't change the content of the data. > >Thanks, >Mickey Glasgow >mickey_glasgow@aoncons.comReceived on Wednesday, 19 February 2003 23:51:50 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:37:53 GMT