- From: Harkavy, Roger <rharkavy@erisco.com>
- Date: Wed, 7 Nov 2001 10:32:38 -0500
- To: "'html-tidy@w3.org'" <html-tidy@w3.org>
Okay, I also pored over the documentation at the new site (sourceforge.net) and still can't find any answers. Any tips? -----Original Message----- From: Harkavy, Roger [mailto:rharkavy@erisco.com] Sent: Monday, November 05, 2001 10:57 AM To: 'html-tidy@w3.org' Subject: Removing extra blank lines in XML files? This may be a very simple question that has an answer in the Tidy documentation, but for some reason I'm not finding it. Please bear with me... I'm using Tidy to clean up some XML files. These files have sections that look like this: <Category name="Indicative"> <Item name="ActionNumber">3500_1000</Item> <Item name="StepId">CLMM</Item> <Item name="ExecutionType">E</Item> <Item name="ProgramName">cerbexe0</Item> <Item name="Architecture">2X</Item> <Item name="IniFile" Eval="Y">goCerFacetsAction.goDictionary.Item("JobIniDirectory") & goCerFacetsAction.goDictionary.Item("StepId") & "_" & goCerFacetsAction.goDictionary.Item("StepNumber") & ".ini"</Item> </Category> And Tidy fixes them up to look like this: <Category name="Indicative"> <Item name="ActionNumber">3500_1000</Item> <Item name="StepId">CLMM</Item> <Item name="ExecutionType">E</Item> <Item name="ProgramName">cerbexe0</Item> <Item name="Architecture">2X</Item> <Item name="IniFile" Eval="Y"> goCerFacetsAction.goDictionary.Item("JobIniDirectory") & goCerFacetsAction.goDictionary.Item("StepId") & "_" & goCerFacetsAction.goDictionary.Item("StepNumber") & ".ini"</Item> </Category> Tidy fixes the indents and handles text wrapping beautifully. This makes me very happy. Tidy also inserts extra blank lines between the <Item> tags, and I can't find a way to turn this option off. This is frustrating me. Can someone please give me any guidance for disabling this feature? Thanks in advance for any help you can give me. Also, when I get a response from someone on the list, should I just reply to the individual's address, or to html-tidy@w3.org?
Received on Wednesday, 7 November 2001 10:34:32 UTC