Author Topic: XML Beautify won't put attributes on same line as tag  (Read 4587 times)

magpie

  • Senior Community Member
  • Posts: 100
  • Hero Points: 5
XML Beautify won't put attributes on same line as tag
« on: September 06, 2006, 04:43:43 AM »
I seem to remember this was in a previous version...
I want :
            <Tool
            Name="VCCLCompilerTool"
            Optimization="1"
            InlineFunctionExpansion="2"/>
to become :
            <Tool Name="VCCLCompilerTool" Optimization="1" InlineFunctionExpansion="2"/>

I have two XML files that differ mainly in formatting, so I want to reformat them consistently, then diff them to meaningfully see the differences.

Also, when I click help on the XML Bueatify dialog, it says XML Beautifier dialog box not found in the help index.

It seems to me that beautifying XML is an important feature and needs a bit more attention...

Dennis

  • Senior Community Member
  • Posts: 3955
  • Hero Points: 515
Re: XML Beautify won't put attributes on same line as tag
« Reply #1 on: September 08, 2006, 04:00:03 PM »
Try turning on "Preserve tag body"